vishesh92 commented on code in PR #8362:
URL: https://github.com/apache/cloudstack/pull/8362#discussion_r1488958984
##########
api/src/main/java/org/apache/cloudstack/api/command/user/resource/UpdateResourceCountCmd.java:
##########
@@ -117,15 +124,14 @@ public long getEntityOwnerId() {
@Override
public void execute() {
List<? extends ResourceCount> result =
-
_resourceLimitService.recalculateResourceCount(_accountService.finalyzeAccountId(accountName,
domainId, projectId, true), getDomainId(), getResourceType());
+
_resourceLimitService.recalculateResourceCount(_accountService.finalyzeAccountId(accountName,
domainId, projectId, true), getDomainId(), getResourceType(), getTag());
if ((result != null) && (result.size() > 0)) {
ListResponse<ResourceCountResponse> response = new
ListResponse<ResourceCountResponse>();
List<ResourceCountResponse> countResponses = new
ArrayList<ResourceCountResponse>();
for (ResourceCount count : result) {
ResourceCountResponse resourceCountResponse =
_responseGenerator.createResourceCountResponse(count);
- resourceCountResponse.setObjectName("resourcecount");
Review Comment:
Would this change the json key in the output?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]