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 a53d39c1b6
commit 25e514a28e
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");
}