You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "CharlesQueiroz (via GitHub)" <gi...@apache.org> on 2023/04/17 18:20:31 UTC
[GitHub] [cloudstack] CharlesQueiroz commented on a diff in pull request #7274: Adding Count Resource Domain
CharlesQueiroz commented on code in PR #7274:
URL: https://github.com/apache/cloudstack/pull/7274#discussion_r1169118169
##########
server/src/main/java/com/cloud/resourcelimit/ResourceLimitManagerImpl.java:
##########
@@ -270,7 +281,7 @@ public void incrementResourceCount(long accountId, ResourceType type, Long... de
return;
}
- long numToIncrement = (delta.length == 0) ? 1 : delta[0].longValue();
+ long numToIncrement = (delta.length == 0) ? 1 : delta[0];
Review Comment:
I can revert it. No problem.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org