ustcweizhou commented on a change in pull request #3304: server: Fix exception
while update domain resource count (#3204)
URL: https://github.com/apache/cloudstack/pull/3304#discussion_r279634207
##########
File path:
engine/schema/src/main/java/com/cloud/configuration/dao/ResourceCountDaoImpl.java
##########
@@ -266,18 +266,18 @@ public long countMemoryAllocatedToAccount(long
accountId) {
}
private long executeSqlCountComputingResourcesForAccount(long accountId,
String sqlCountComputingResourcesAllocatedToAccount) {
- try (TransactionLegacy tx = TransactionLegacy.currentTxn()) {
+ TransactionLegacy tx = TransactionLegacy.currentTxn()
Review comment:
@DaanHoogland you missed ";" at the end of line 269.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services