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:
parent
5c11bf9e4f
commit
ef5081f49a
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user