mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-8039: UI > Infrastructure > router, systemvm > detailView > hide ChangeServiceOffering action when vm's hypervisor is XenServer and vm's status is Running.
This commit is contained in:
parent
3ea8a1187a
commit
7d7df0245b
@ -20589,8 +20589,8 @@
|
||||
if (jsonObj.state == 'Running') {
|
||||
allowedActions.push("stop");
|
||||
|
||||
//when router is Running, only XenServer, VMware support scaleUp(change service offering)
|
||||
if (jsonObj.hypervisor == 'XenServer' || jsonObj.hypervisor == "VMware") {
|
||||
//when router is Running, only VMware support scaleUp(change service offering)
|
||||
if (jsonObj.hypervisor == "VMware") {
|
||||
allowedActions.push("scaleUp");
|
||||
}
|
||||
|
||||
@ -20635,8 +20635,8 @@
|
||||
allowedActions.push("restart");
|
||||
allowedActions.push("remove");
|
||||
|
||||
//when systemvm is Running, only XenServer, VMware support scaleUp(change service offering)
|
||||
if (jsonObj.hypervisor == 'XenServer' ||jsonObj.hypervisor == "VMware") {
|
||||
//when systemvm is Running, only VMware support scaleUp(change service offering)
|
||||
if (jsonObj.hypervisor == "VMware") {
|
||||
allowedActions.push("scaleUp");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user