mirror of https://github.com/apache/cloudstack.git
revert this, we need to send commands to host which is in connecting status
This commit is contained in:
parent
c9db3420a1
commit
87c05ab5f9
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue