mirror of https://github.com/apache/cloudstack.git
Bug 13684: Remove .vhd that we were appending for backupSnapshot UUID and keep it only in teh case of swift.
Reviewed-By: Kishan
This commit is contained in:
parent
b149d1cb4b
commit
67d91cef5d
|
|
@ -6026,11 +6026,11 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
|||
if( cmd.getSwift() != null ) {
|
||||
try {
|
||||
swiftBackupSnapshot(conn, cmd.getSwift(), snapshotSr.getUuid(conn), snapshotBackupUuid, "S-" + volumeId.toString(), false, wait);
|
||||
snapshotBackupUuid = snapshotBackupUuid + ".vhd";
|
||||
} finally {
|
||||
deleteSnapshotBackup(conn, dcId, accountId, volumeId, secondaryStorageMountPath, snapshotBackupUuid);
|
||||
}
|
||||
}
|
||||
snapshotBackupUuid = snapshotBackupUuid + ".vhd";
|
||||
}
|
||||
success = true;
|
||||
} finally {
|
||||
if( snapshotSr != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue