You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2017/11/27 07:46:51 UTC

[GitHub] rhtyd commented on a change in pull request #2322: CLOUDSTACK-10140: Fix for when template is created from snapshot template.properties are corrupted

rhtyd commented on a change in pull request #2322: CLOUDSTACK-10140: Fix for when template is created from snapshot template.properties are corrupted
URL: https://github.com/apache/cloudstack/pull/2322#discussion_r153123659
 
 

 ##########
 File path: services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
 ##########
 @@ -521,12 +521,8 @@ protected Answer copySnapshotToTemplateFromNfsToNfs(CopyCommand cmd, SnapshotObj
                     bufferWriter.write("uniquename=" + destData.getName());
                     bufferWriter.write("\n");
                     bufferWriter.write("filename=" + fileName);
-                    bufferWriter.write("\n");
-                    long size = _storage.getSize(destFileFullPath);
-                    bufferWriter.write("size=" + size);
 
 Review comment:
   @bwsw should we not write `size`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services