@@ -382,7 +382,7 @@ protected boolean checkIfRestoreSessionFinished(String type, String path) throws
382382 getRestoreVmErrorDescription (StringUtils .substringAfterLast (sessionUid , ":" ))));
383383 throw new CloudRuntimeException (String .format ("Restore job [%s] failed." , sessionUid ));
384384 }
385- LOG .debug (String .format ("Waiting %s seconds, out of a total of %s seconds, for the backup process to finish." , j , restoreTimeout ));
385+ LOG .debug (String .format ("Waiting %s seconds, out of a total of %s seconds, for the restore backup process to finish." , j , restoreTimeout ));
386386
387387 try {
388388 Thread .sleep (1000 );
@@ -943,12 +943,12 @@ public Pair<Boolean, String> restoreVMToDifferentLocation(String restorePointId,
943943 }
944944
945945 /**
946- * Tries to retrieve the error's descripton of the Veeam restore task that errored .
947- * @param uid Session uid in Veeam of restore process;
948- * @return the description found in Veeam about the cause of error in restore process.
946+ * Tries to retrieve the error's description of the Veeam restore task that resulted in an error .
947+ * @param uid Session uid in Veeam of the restore process;
948+ * @return the description found in Veeam about the cause of error in the restore process.
949949 */
950950 protected String getRestoreVmErrorDescription (String uid ) {
951- LOG .debug (String .format ("Trying to find cause of error in restore process [%s]." , uid ));
951+ LOG .debug (String .format ("Trying to find the cause of error in the restore process [%s]." , uid ));
952952 List <String > cmds = Arrays .asList (
953953 String .format ("$restoreUid = '%s'" , uid ),
954954 "$restore = Get-VBRRestoreSession -Id $restoreUid" ,
@@ -962,7 +962,7 @@ protected String getRestoreVmErrorDescription(String uid) {
962962 if (result != null && result .first ()) {
963963 return result .second ();
964964 }
965- return String .format ("Failed to get description of failed restore session [%s]. Please contact an administrator." , uid );
965+ return String .format ("Failed to get the description of the failed restore session [%s]. Please contact an administrator." , uid );
966966 }
967967
968968 private boolean isLegacyServer () {
0 commit comments