mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #: release vnet lock if IPAM remove fails (#4692)
This commit is contained in:
parent
c6b182a795
commit
33485ee842
@ -349,6 +349,7 @@ int VirtualNetworkDelete::drop(PoolObjectSQL * object, bool r, RequestAttributes
|
||||
if (rc != 0)
|
||||
{
|
||||
vnpool->update(vnet);
|
||||
vnet->unlock();
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user