Skip to content
Snippets Groups Projects
Commit 969186f6 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

change output format

parent db897a3c
No related branches found
No related tags found
No related merge requests found
......@@ -92,9 +92,9 @@ def check_dns(hostname: str, expected_ip: str, resolvers: set) -> tuple:
else:
for address in answers:
if address == expected_ip:
u.success("{} -> {}".format(hostname, address))
u.success("{}".format(address))
else:
u.error("{} -> {} != {}".format(hostname, address, expected_ip))
u.error("{} instead of {}".format(address, expected_ip))
errors += 1
return warnings, errors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment