Skip to content

Commit 7f4a686

Browse files
Merge remote-tracking branch 'origin/4.19'
Signed-off-by: Rohit Yadav <[email protected]>
2 parents f358813 + 3d32ab5 commit 7f4a686

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
@@ -545,16 +545,11 @@ public void doInTransactionWithoutResult(TransactionStatus status) {
545545
TransactionLegacy txn = TransactionLegacy.currentTxn();
546546
PreparedStatement pstmt = null;
547547
try {
548-
txn.start();
549548
pstmt = txn.prepareAutoCloseStatement(DELETE_ALL_BY_INTERVAL);
550549
pstmt.setLong(1, days);
551550
pstmt.executeUpdate();
552-
txn.commit();
553551
} catch (Exception ex) {
554-
txn.rollback();
555552
logger.error("error removing old cloud_usage records for interval: " + days);
556-
} finally {
557-
txn.close();
558553
}
559554
}
560555
});

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)