From aab0fe213f1e1022d1ac4f74b651e026ffac7069 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Mon, 27 Apr 2015 00:06:38 +0200 Subject: [PATCH] feature #3654: Fix wrong name in state check --- src/lcm/LifeCycleStates.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lcm/LifeCycleStates.cc b/src/lcm/LifeCycleStates.cc index 92408521bc..a6bb485db0 100644 --- a/src/lcm/LifeCycleStates.cc +++ b/src/lcm/LifeCycleStates.cc @@ -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");