bug 10190: add log if failed to delete host when host is in UP state

This commit is contained in:
Edison Su 2011-06-15 12:01:00 -04:00
parent 1ac1f8a20f
commit 2e8d1bbd6c
1 changed files with 0 additions and 3 deletions

View File

@ -591,9 +591,6 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, Manager {
Status currentState = host.getStatus();
Status nextState = currentState.getNextStatus(Status.Event.Remove);
if (nextState == null) {
if (!(attache instanceof DirectAgentAttache)) {
return false;
}
s_logger.debug("There is no transition from state " + currentState.toString() + " to state " + Status.Event.Remove.toString());
return false;
}