Fixed bug with deleting VMWare VM Snapshots

Signed-off-by: Edison Su <sudison@gmail.com>
This commit is contained in:
Chris Suich 2013-11-07 10:21:55 -05:00 committed by Edison Su
parent aef633f203
commit f826dfb918
1 changed files with 1 additions and 1 deletions

View File

@ -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);