DaanHoogland commented on code in PR #11772:
URL: https://github.com/apache/cloudstack/pull/11772#discussion_r2409614333
##########
plugins/backup/veeam/src/main/java/org/apache/cloudstack/backup/veeam/VeeamClient.java:
##########
@@ -380,7 +382,8 @@ protected void checkIfRestoreSessionFinished(String type,
String path) throws IO
getRestoreVmErrorDescription(StringUtils.substringAfterLast(sessionUid, ":"))));
throw new CloudRuntimeException(String.format("Restore job
[%s] failed.", sessionUid));
}
- logger.debug(String.format("Waiting %s seconds, out of a total of
%s seconds, for the restore backup process to finish.", j, restoreTimeout));
+ logger.debug(String.format("Waiting %d seconds, out of a total of
%d seconds, for the restore backup process to finish.",
+ (System.currentTimeMillis() - startTime) / 1000, restoreTimeout));
Review Comment:
didn’t like the lambda, huh? 😉
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]