1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #5302: Do not finish import record on poweroff

This commit is contained in:
Ruben S. Montero 2021-03-22 12:03:46 +01:00
parent 87cd4b748f
commit 5d1060e056
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -142,10 +142,6 @@ int DispatchManager::import(unique_ptr<VirtualMachine> vm, const RequestAttribut
{
vm->set_state(VirtualMachine::POWEROFF);
vm->set_state(VirtualMachine::LCM_INIT);
//Close this History Record
vm->set_etime(the_time);
vm->set_running_etime(the_time);
}
else
{