mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 12039, 12041: forgot one more place. Reviewed-by: kelven
This commit is contained in:
parent
67a2320001
commit
9676947175
@ -714,10 +714,12 @@ public class VmwareStorageManagerImpl implements VmwareStorageManager {
|
||||
|
||||
clonedVm.exportVm(exportPath, exportName, true, true);
|
||||
} finally {
|
||||
if(clonedVm != null)
|
||||
if(clonedVm != null) {
|
||||
clonedVm.detachAllDisks();
|
||||
clonedVm.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private String deleteSnapshotOnSecondaryStorge(long accountId, long volumeId, String secStorageUrl, String backupUuid) throws Exception {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user