File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
engine/schema/src/main/java/com/cloud/usage/dao Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff 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 });
Original file line number Diff line number Diff 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 })
You can’t perform that action at this time.
0 commit comments