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
b64fa34ce9
commit
7fe1ed9dc8
|
|
@ -2435,7 +2435,7 @@
|
|||
allowedActions.push("restart");
|
||||
|
||||
if ((jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true)
|
||||
|| (jsonObj.hypervisor != 'LXC')) {
|
||||
&& (jsonObj.hypervisor != 'LXC')) {
|
||||
allowedActions.push("snapshot");
|
||||
}
|
||||
|
||||
|
|
@ -2469,7 +2469,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