bug 13789: don't shutdown host if it's a forward agent

status 13789: resolved fixed
Reviewed-by: frank
This commit is contained in:
Edison Su 2012-02-17 13:01:51 -08:00
parent 6ed5fc08fc
commit ac9bb81a93
1 changed files with 3 additions and 1 deletions

View File

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