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:
[email protected]


With regards,
Apache Git Services

Reply via email to