log when an instance is not added because of its state
This commit is contained in:
parent
ce4db355db
commit
220275e6b0
|
@ -181,6 +181,8 @@ public class AwsEc2UnicastHostsProvider extends AbstractComponent implements Uni
|
||||||
} else {
|
} else {
|
||||||
logger.trace("not adding {}, address is null, host_type {}", instance.getInstanceId(), hostType);
|
logger.trace("not adding {}, address is null, host_type {}", instance.getInstanceId(), hostType);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
logger.trace("not adding {}, state {} is not pending or running", instance.getInstanceId(), state.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue