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 2019/07/30 11:02:05 UTC

[GitHub] [cloudstack] anuragaw commented on a change in pull request #3529: Add size to list usage records for VMSnapShotOnPrimary (type 27)

anuragaw commented on a change in pull request #3529: Add size to list usage records for VMSnapShotOnPrimary (type 27)
URL: https://github.com/apache/cloudstack/pull/3529#discussion_r308660617
 
 

 ##########
 File path: server/src/main/java/com/cloud/api/ApiResponseHelper.java
 ##########
 @@ -3691,6 +3691,7 @@ public UsageRecordResponse createUsageResponse(Usage usageRecord, Map<String, Se
                     builder.append(" for VM ").append(vmInstance.getHostName()).append(" (").append(vmInstance.getUuid()).append(") ")
                             .append("with size ").append(usageRecord.getVirtualSize());
                 }
+                usageRecResponse.setSize(usageRecord.getVirtualSize());
 
 Review comment:
   Nice catch. done.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services