skattoju4 commented on a change in pull request #4875:
URL: https://github.com/apache/cloudstack/pull/4875#discussion_r620535834
##########
File path:
services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
##########
@@ -772,7 +780,12 @@ protected Answer copyFromSwiftToNfs(CopyCommand cmd,
DataTO srcData, SwiftTO swi
}
}
- File destFile = SwiftUtil.getObject(swiftTO, downloadDirectory,
srcData.getPath());
+ String filePath = downloadPath + File.separator +
destData.getName();
Review comment:
Hey Syed, thanks for the review. We do call getPath() on line 766 so the
downloadPath will contain the path to folder depending on whether its a volume,
snapshot or template. Here i'm skipping the copy from swift if the file is
already there.
--
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]