DaanHoogland commented on code in PR #7210:
URL: https://github.com/apache/cloudstack/pull/7210#discussion_r1105876041


##########
framework/quota/src/main/java/org/apache/cloudstack/quota/QuotaManagerImpl.java:
##########
@@ -558,6 +563,14 @@ protected BigDecimal 
getUsageValueAccordingToUsageUnitType(UsageVO usageRecord,
         }
     }
 
+    protected void setHoursInCurrentMonth() {
+        LocalDate currentDate = LocalDate.now();

Review Comment:
   @stephankruggg is it possible that this calculation happens for just a 
minute ago/last month on the 1st of the next month. How will this be handled?



-- 
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]

Reply via email to