sureshanaparti commented on a change in pull request #4395:
URL: https://github.com/apache/cloudstack/pull/4395#discussion_r506056156



##########
File path: 
services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
##########
@@ -1300,15 +1300,17 @@ protected Answer copyFromNfsToNfs(CopyCommand cmd) {
         try {
             File srcFile = new File(getDir(srcStore.getUrl(), _nfsVersion), 
srcData.getPath());
             File destFile = new File(getDir(destStore.getUrl(), _nfsVersion), 
destData.getPath());
-            ImageFormat format = getTemplateFormat(srcFile.getName());
 
             if (srcFile == null) {
-                return new CopyCmdAnswer("Can't find src file:" + srcFile);
+                return new CopyCmdAnswer("Can't find source file at path: "+ 
srcData.getPath() +"on datastore: "+ srcDataStore.getUuid() +" to initiate file 
transfer");

Review comment:
       make sure spaces are properly aligned on the log code, rest changes LGTM




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to