mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Revert "Fix deadlock when deleting a host with running VMs"
This reverts commit 4988ddd0ecbe8bebaf3b1b908030267e085ce5a5.
This commit is contained in:
parent
3a67b4e4c8
commit
ef260045a1
@ -157,9 +157,6 @@ int HostDelete::drop(int oid, PoolObjectSQL * object, string& error_msg)
|
||||
if ( host->get_share_running_vms() > 0 )
|
||||
{
|
||||
error_msg = "Can not remove a host with running VMs";
|
||||
|
||||
host->unlock();
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user