mirror of https://github.com/apache/cloudstack.git
bug 10190: add log if failed to delete host when host is in UP state
This commit is contained in:
parent
8a887c0b77
commit
76d4636823
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue