mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #3654: remove restart states added after merge
This commit is contained in:
parent
e95bde2a73
commit
8b0c4c42eb
@ -827,20 +827,6 @@ void LifeCycleManager::restart_action(int vid)
|
||||
vmpool->update(vm);
|
||||
break;
|
||||
|
||||
case VirtualMachine::BOOT_FAILURE:
|
||||
action = VirtualMachineManager::DEPLOY;
|
||||
vm->set_state(VirtualMachine::BOOT);
|
||||
|
||||
vmpool->update(vm);
|
||||
break;
|
||||
|
||||
case VirtualMachine::BOOT_MIGRATE_FAILURE:
|
||||
action = VirtualMachineManager::RESTORE;
|
||||
vm->set_state(VirtualMachine::BOOT_MIGRATE);
|
||||
|
||||
vmpool->update(vm);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user