Github user agneya2001 commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1205#discussion_r47334512
  
    --- Diff: 
plugins/database/quota/src/org/apache/cloudstack/api/response/QuotaResponseBuilderImpl.java
 ---
    @@ -233,9 +233,9 @@ public int compare(QuotaBalanceVO o1, QuotaBalanceVO 
o2) {
                 // order is desc last item is the start item
                 QuotaBalanceVO startItem = 
quotaBalance.get(quotaBalance.size() - 1);
                 QuotaBalanceVO endItem = quotaBalance.get(0);
    -            resp.setStartDate(startItem.getUpdatedOn());
    +            resp.setStartDate(startDate);
    --- End diff --
    
    setStartDate of QuotaBalanceResponse makes a copy of the date passed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to