You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2012/11/02 18:34:49 UTC
[6/6] git commit: CS-16499: forgot to add @DB to releaseNic() call
CS-16499: forgot to add @DB to releaseNic() call
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/597bc8c6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/597bc8c6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/597bc8c6
Branch: refs/heads/master
Commit: 597bc8c66c56eacb4fd01deaf6045d57f89d0685
Parents: 7bd7884
Author: Alena Prokharchyk <al...@citrix.com>
Authored: Thu Oct 18 19:03:59 2012 -0700
Committer: Alena Prokharchyk <al...@citrix.com>
Committed: Fri Nov 2 09:59:36 2012 -0700
----------------------------------------------------------------------
.../src/com/cloud/network/NetworkManagerImpl.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/597bc8c6/server/src/com/cloud/network/NetworkManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/NetworkManagerImpl.java b/server/src/com/cloud/network/NetworkManagerImpl.java
index 4f72a80..012b00f 100755
--- a/server/src/com/cloud/network/NetworkManagerImpl.java
+++ b/server/src/com/cloud/network/NetworkManagerImpl.java
@@ -2205,13 +2205,14 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
@Override
+ @DB
public void releaseNic(VirtualMachineProfile<? extends VMInstanceVO> vmProfile, Nic nic)
throws ConcurrentOperationException, ResourceUnavailableException {
NicVO nicVO = _nicDao.findById(nic.getId());
releaseNic(vmProfile, nicVO);
}
-
+ @DB
protected void releaseNic(VirtualMachineProfile<? extends VMInstanceVO> vmProfile, NicVO nicVO)
throws ConcurrentOperationException, ResourceUnavailableException {
//lock the nic