Skip to content

Commit 6a5e430

Browse files
committed
fix build
1 parent 6dc6e8a commit 6a5e430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ public Answer createVolumeFromSnapshot(CopyCommand cmd) {
21832183
backedUpSnapshotUuid = backedUpSnapshotUuid.replace(".ovf", "");
21842184
}
21852185
DatastoreMO primaryDsMo = new DatastoreMO(hyperHost.getContext(), morPrimaryDs);
2186-
restoreVolumeFromSecStorage(hyperHost, primaryDsMo, newVolumeName, secondaryStorageUrl, backupPath, backedUpSnapshotUuid);
2186+
restoreVolumeFromSecStorage(hyperHost, primaryDsMo, newVolumeName, secondaryStorageUrl, backupPath, backedUpSnapshotUuid, cmd.getWait() * 1000);
21872187

21882188
VolumeObjectTO newVol = new VolumeObjectTO();
21892189
newVol.setPath(newVolumeName);

0 commit comments

Comments
 (0)