fix: correct missing colon on try

This commit is contained in:
Alex Kelly 2021-11-03 15:51:05 -04:00
parent 09fe26633f
commit 793a5e8c8c

View file

@ -60,7 +60,7 @@ def pingdom(data, headers):
elif data["check_type"].lower() == "dns": elif data["check_type"].lower() == "dns":
# There are a bunch of values that are blanke when you do a test # There are a bunch of values that are blanke when you do a test
# so ignore them if value is unset # so ignore them if value is unset
try try:
first_ip = data["first_probe"]["ip"] first_ip = data["first_probe"]["ip"]
except KeyError: except KeyError:
first_ip = "unknown" first_ip = "unknown"