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

feature #3654: Fix wrong name in state check

This commit is contained in:
Ruben S. Montero 2015-04-27 00:06:38 +02:00
parent 1c828b28d4
commit aab0fe213f

View File

@ -1030,7 +1030,7 @@ void LifeCycleManager::epilog_failure_action(int vid)
}
//wrong state + recover failure from failure state
else if ( state != VirtualMachine::EPILOG_FAILURE &&
state != VirtualMachine::EPILOG_STOP_FAILURE &&
state != VirtualMachine::EPILOG_UNDEPLOY_FAILURE &&
state != VirtualMachine::EPILOG_STOP_FAILURE )
{
vm->log("LCM",Log::ERROR,"epilog_failure_action, VM in a wrong state");