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:
abhi 2012-01-31 09:24:39 +05:30
parent d7967b7afe
commit 06221d18c3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}