1
0
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:
Ruben S. Montero 2015-04-23 14:43:30 +02:00
parent e95bde2a73
commit 8b0c4c42eb

View File

@ -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;
}