Skip to content
Snippets Groups Projects
Commit a023b86f authored by Florent Thiery's avatar Florent Thiery
Browse files

add print if dns is different to the actual ip, refs #20581

parent 55531557
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ def check_dns(hostname, expected_ip): ...@@ -38,6 +38,7 @@ def check_dns(hostname, expected_ip):
color = GREEN color = GREEN
address = get_result(output) address = get_result(output)
if address != expected_ip: if address != expected_ip:
print('Expected ip was: %s, got %s' % (expected_ip, address))
color = RED color = RED
all_ok = False all_ok = False
else: else:
......
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