mirror of https://github.com/apache/cloudstack.git
Fixed bug with deleting VMWare VM Snapshots
Signed-off-by: Edison Su <sudison@gmail.com>
This commit is contained in:
parent
aef633f203
commit
f826dfb918
|
|
@ -1402,7 +1402,7 @@ public class VmwareStorageManagerImpl implements VmwareStorageManager {
|
|||
baseName + "*.vmdk", store.getUuid(), newPath);
|
||||
if(volumeTo.getVolumeType()== Volume.Type.ROOT){
|
||||
// add memory snapshot size
|
||||
size = size + getVMSnapshotChainSize(context,hyperHost,cmd.getVmName()+"*.vmsn",volumeTo.getUuid(),null);
|
||||
size = size + getVMSnapshotChainSize(context,hyperHost,cmd.getVmName()+"*.vmsn",store.getUuid(),null);
|
||||
}
|
||||
volumeTo.setSize(size);
|
||||
volumeTo.setPath(newPath);
|
||||
|
|
|
|||
Loading…
Reference in New Issue