added "nothing to do" log message

This commit is contained in:
Pavel Muhortov 2023-11-23 12:42:44 +03:00
parent 03b69239c6
commit b724aa9441

View File

@ -346,6 +346,7 @@ if __name__ == "__main__":
)
for address in args['check']:
if Do.ping(host=address):
logging.info(msg='target hosts are available. Nothing to do.')
break
else:
iface_states = {'old': {}, 'new': {}}