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

B #5302: Do not finish import record on poweroff

(cherry picked from commit 5d1060e056e44f78e0646cad2a98fd3325583858)
This commit is contained in:
Ruben S. Montero 2021-03-22 12:03:46 +01:00
parent 5c11bf9e4f
commit ef5081f49a
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -136,10 +136,6 @@ int DispatchManager::import(VirtualMachine * vm, const RequestAttributes& ra)
{
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
{