mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
Only trigger looking for DISK_LOCK changes on CLONING VMs
This commit is contained in:
parent
f4b30f26c9
commit
7cf10a623b
@ -1083,8 +1083,11 @@ int VirtualMachine::insert(SqlDB * db, string& error_str)
|
||||
//-------------------------------------------------------------------------
|
||||
//Check for missing unlock callbacks during creation
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
Nebula::instance().get_lcm()->trigger(LCMAction::DISK_LOCK_SUCCESS, oid);
|
||||
|
||||
if ( state == VirtualMachine::CLONING )
|
||||
{
|
||||
Nebula::instance().get_lcm()->trigger(LCMAction::DISK_LOCK_SUCCESS,oid);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user