mirror of https://github.com/apache/cloudstack.git
Revert "bug 12849: remove agent will kickstart HA if the host status is Down or Alert. The update is therefore moved before it"
This reverts commit 17bb6608dc4195e11d399457498b7edae2184b53.
This commit is contained in:
parent
d7967b7afe
commit
06221d18c3
|
|
@ -1110,8 +1110,8 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, Manager {
|
|||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("Deregistering link for " + hostId + " with state " + nextState);
|
||||
}
|
||||
_hostDao.disconnect(host, event, _nodeId);
|
||||
removeAgent(attache, nextState, event, investigate);
|
||||
_hostDao.disconnect(host, event, _nodeId);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue