fix: correct missing colon on try
This commit is contained in:
parent
09fe26633f
commit
793a5e8c8c
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue