Skip to content

Commit 4f748e6

Browse files
author
Jessica Wang
committed
CLOUDSTACK-8039: UI > Infrastructure > router, systemvm > detailView > hide ChangeServiceOffering action when vm's hypervisor is XenServer and vm's status is Running.
1 parent 7c951a2 commit 4f748e6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ui/scripts/system.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20567,8 +20567,8 @@
2056720567
if (jsonObj.state == 'Running') {
2056820568
allowedActions.push("stop");
2056920569

20570-
//when router is Running, only XenServer, VMware support scaleUp(change service offering)
20571-
if (jsonObj.hypervisor == 'XenServer' || jsonObj.hypervisor == "VMware") {
20570+
//when router is Running, only VMware support scaleUp(change service offering)
20571+
if (jsonObj.hypervisor == "VMware") {
2057220572
allowedActions.push("scaleUp");
2057320573
}
2057420574

@@ -20613,8 +20613,8 @@
2061320613
allowedActions.push("restart");
2061420614
allowedActions.push("remove");
2061520615

20616-
//when systemvm is Running, only XenServer, VMware support scaleUp(change service offering)
20617-
if (jsonObj.hypervisor == 'XenServer' ||jsonObj.hypervisor == "VMware") {
20616+
//when systemvm is Running, only VMware support scaleUp(change service offering)
20617+
if (jsonObj.hypervisor == "VMware") {
2061820618
allowedActions.push("scaleUp");
2061920619
}
2062020620

0 commit comments

Comments
 (0)