File tree Expand file tree Collapse file tree
engine/schema/src/main/java/com/cloud/usage/dao Expand file tree Collapse file tree Original file line number Diff line number Diff 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 });
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