mirror of https://github.com/apache/cloudstack.git
bug 13789: don't shutdown host if it's a forward agent
status 13789: resolved fixed Reviewed-by: frank
This commit is contained in:
parent
6ed5fc08fc
commit
ac9bb81a93
|
|
@ -823,7 +823,9 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, Manager {
|
|||
s_logger.debug("Cant not find host " + agent.getId());
|
||||
}
|
||||
} else {
|
||||
agentStatusTransitTo(host, Event.ManagementServerDown, _nodeId);
|
||||
if (!agent.forForward()) {
|
||||
agentStatusTransitTo(host, Event.ManagementServerDown, _nodeId);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue