revert this, we need to send commands to host which is in connecting status

This commit is contained in:
anthony 2010-10-14 11:05:02 -07:00
parent c9db3420a1
commit 87c05ab5f9
1 changed files with 0 additions and 4 deletions

View File

@ -1160,10 +1160,6 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory {
@Override
public Answer easySend(final Long hostId, final Command cmd, int timeout) {
try {
Host h = _hostDao.findById(hostId);
if( !h.getStatus().equals(Status.Up) ) {
return null;
}
final Answer answer = send(hostId, cmd, timeout);
if (answer == null) {
s_logger.warn("send returns null answer");