Skip to content

Commit 3d32ab5

Browse files
Merge remote-tracking branch 'origin/4.18' into 4.19
2 parents f8385a4 + cf0e44d commit 3d32ab5

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

engine/schema/src/main/java/com/cloud/usage/dao/UsageDaoImpl.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -547,16 +547,11 @@ public void doInTransactionWithoutResult(TransactionStatus status) {
547547
TransactionLegacy txn = TransactionLegacy.currentTxn();
548548
PreparedStatement pstmt = null;
549549
try {
550-
txn.start();
551550
pstmt = txn.prepareAutoCloseStatement(DELETE_ALL_BY_INTERVAL);
552551
pstmt.setLong(1, days);
553552
pstmt.executeUpdate();
554-
txn.commit();
555553
} catch (Exception ex) {
556-
txn.rollback();
557554
s_logger.error("error removing old cloud_usage records for interval: " + days);
558-
} finally {
559-
txn.close();
560555
}
561556
}
562557
});

ui/src/views/compute/KubernetesServiceTab.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ export default {
402402
if (this.arrayHasItems(networks)) {
403403
this.network = networks[0]
404404
}
405+
resolve(this.network)
405406
})
406407
this.networkLoading = false
407408
})

0 commit comments

Comments
 (0)