mirror of https://github.com/apache/cloudstack.git
quota: fix quota credits api, NPE
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
c99346c30e
commit
c13b329df7
|
|
@ -233,8 +233,7 @@ public class QuotaServiceImpl extends ManagerBase implements QuotaService, Confi
|
|||
throw new InvalidParameterValueException("Incorrect deposit date: " + adjustedStartDate + " there are balance entries after this date");
|
||||
}
|
||||
|
||||
_quotaDBUtils.addQuotaCredits(accountId, domainId, amount, updatedBy, adjustedStartDate);
|
||||
return null;
|
||||
return _quotaDBUtils.addQuotaCredits(accountId, domainId, amount, updatedBy, adjustedStartDate);
|
||||
}
|
||||
|
||||
public TimeZone getUsageTimezone() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue