1
0
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:
Ruben S. Montero 2017-06-02 12:01:32 +02:00
parent 35da0ee157
commit 654b384ba9

View File

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