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:
Nitin Mehta 2012-02-15 14:02:39 +05:30
parent b149d1cb4b
commit 67d91cef5d
1 changed files with 2 additions and 2 deletions

View File

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