CS-16499: forgot to add @DB to releaseNic() call

This commit is contained in:
Alena Prokharchyk 2012-10-18 19:03:59 -07:00
parent 7bd7884f57
commit 597bc8c66c
1 changed files with 2 additions and 1 deletions

View File

@ -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