mirror of https://github.com/apache/cloudstack.git
Merge pull request #2451 from Accelerite/CLOUDSTACK-10284
CLOUDSTACK-10284:Creating a snapshot from VM Snapshot generates error if hypervisor is not KVM.
This commit is contained in:
commit
f8d98fd1d0
|
|
@ -2859,7 +2859,10 @@
|
|||
if (jsonObj.state == "Ready") {
|
||||
allowedActions.push("remove");
|
||||
allowedActions.push("revertToVMSnapshot");
|
||||
allowedActions.push("takeSnapshot");
|
||||
|
||||
if (args && args.context && args.context.instances && args.context.instances[0].hypervisor && args.context.instances[0].hypervisor === "KVM") {
|
||||
allowedActions.push("takeSnapshot");
|
||||
}
|
||||
}
|
||||
|
||||
return allowedActions;
|
||||
|
|
|
|||
Loading…
Reference in New Issue