mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
CS-16499: removed useless txn.commit statement. Used to call it to ensure that the lock() on nic object will get removed even in case when we don't do the DB update. But our Transaction code does it automatic
This commit is contained in:
parent
597bc8c66c
commit
705130e42c
@ -2261,9 +2261,6 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
|
||||
updateNic(nic, network.getId(), -1);
|
||||
txn.commit();
|
||||
}
|
||||
} else {
|
||||
//commiting the empty transaction here as we have to release the lock we've held
|
||||
txn.commit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user