mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
F #4809: Do not use log after unlocking objetcs
This commit is contained in:
parent
35da0ee157
commit
654b384ba9
@ -1707,13 +1707,13 @@ int DispatchManager::detach_nic(int vid, int nic_id,const RequestAttributes& ra,
|
||||
}
|
||||
else
|
||||
{
|
||||
vm->log("DiM", Log::INFO, "VM NIC Successfully detached.");
|
||||
|
||||
vmpool->update(vm);
|
||||
|
||||
vm->unlock();
|
||||
|
||||
vmpool->detach_nic_success(vid);
|
||||
|
||||
vm->log("DiM", Log::INFO, "VM NIC Successfully detached.");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user