mirror of https://github.com/apache/cloudstack.git
CS-16499: forgot to add @DB to releaseNic() call
This commit is contained in:
parent
7bd7884f57
commit
597bc8c66c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue