mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7383: UI > Instances menu > detail view > TakeSnapshot action should be hidden when VM's hypervisor is LXC.
This commit is contained in:
parent
775e4d34c3
commit
744c1a1b03
|
|
@ -2265,7 +2265,7 @@
|
|||
allowedActions.push("restart");
|
||||
|
||||
if ((jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true)
|
||||
|| (jsonObj.hypervisor != 'LXC')) {
|
||||
&& (jsonObj.hypervisor != 'LXC')) {
|
||||
allowedActions.push("snapshot");
|
||||
}
|
||||
|
||||
|
|
@ -2299,7 +2299,7 @@
|
|||
allowedActions.push("reinstall");
|
||||
|
||||
if ((jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true)
|
||||
|| (jsonObj.hypervisor != 'LXC')) {
|
||||
&& (jsonObj.hypervisor != 'LXC')) {
|
||||
allowedActions.push("snapshot");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue