CLOUDSTACK-7384: UI > Instances > detailView > change service offering option > hide it when VM state is Running and hyperviror is LXC.

This commit is contained in:
Jessica Wang 2014-11-04 11:33:15 -08:00
parent 0327c2b13e
commit 4d62dbb8ba
1 changed files with 2 additions and 2 deletions

View File

@ -2253,8 +2253,8 @@
allowedActions.push("destroy");
allowedActions.push("reinstall");
//when userVm is running, scaleUp is not supported for KVM
if (jsonObj.hypervisor != 'KVM') {
//when userVm is running, scaleUp is not supported for KVM, LXC
if (jsonObj.hypervisor != 'KVM' && jsonObj.hypervisor != 'LXC') {
allowedActions.push("scaleUp");
}