mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix comment
This commit is contained in:
parent
ca5bfea397
commit
df843081cd
@ -90,6 +90,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
|||||||
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
|
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
|
||||||
import com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator;
|
import com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
import org.apache.logging.log4j.util.Supplier;
|
||||||
|
|
||||||
public class VeeamClient {
|
public class VeeamClient {
|
||||||
protected Logger logger = LogManager.getLogger(getClass());
|
protected Logger logger = LogManager.getLogger(getClass());
|
||||||
@ -382,8 +383,8 @@ public class VeeamClient {
|
|||||||
getRestoreVmErrorDescription(StringUtils.substringAfterLast(sessionUid, ":"))));
|
getRestoreVmErrorDescription(StringUtils.substringAfterLast(sessionUid, ":"))));
|
||||||
throw new CloudRuntimeException(String.format("Restore job [%s] failed.", sessionUid));
|
throw new CloudRuntimeException(String.format("Restore job [%s] failed.", sessionUid));
|
||||||
}
|
}
|
||||||
logger.debug(String.format("Waiting %d seconds, out of a total of %d seconds, for the restore backup process to finish.",
|
logger.debug("Waiting {} seconds, out of a total of {} seconds, for the restore backup process to finish.",
|
||||||
(System.currentTimeMillis() - startTime) / 1000, restoreTimeout));
|
(System.currentTimeMillis() - startTime) / 1000, restoreTimeout);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user