Skip to content

Commit f350e34

Browse files
committed
CLOUDSTACK-2481: the wait is in seconds in copycommand
1 parent 9db03bf commit f350e34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎services/secondary-storage/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ protected Answer copySnapshotToTemplateFromNfsToNfsXenserver(CopyCommand cmd, Sn
367367

368368
String templateUuid = UUID.randomUUID().toString();
369369
String templateName = templateUuid + ".vhd";
370-
Script command = new Script(this.createTemplateFromSnapshotXenScript, cmd.getWait(), s_logger);
370+
Script command = new Script(this.createTemplateFromSnapshotXenScript, cmd.getWait() * 1000, s_logger);
371371
command.add("-p", snapshotPath);
372372
command.add("-s", snapshotName);
373373
command.add("-n", templateName);

0 commit comments

Comments
 (0)