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 8a887c0b77
commit 76d4636823
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;
}