mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 15:10:27 +00:00
LGTM fix - unused variable
This commit is contained in:
parent
b3271e84d6
commit
3d2ad1abc0
@ -1194,7 +1194,7 @@ def health():
|
|||||||
return make_response("Down", 503)
|
return make_response("Down", 503)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
resp = domain.get_domain_info(domain_to_query.name)
|
domain.get_domain_info(domain_to_query.name)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
current_app.logger.error("Health Check - Failed to query authoritative server for domain {}".format(domain_to_query.name))
|
current_app.logger.error("Health Check - Failed to query authoritative server for domain {}".format(domain_to_query.name))
|
||||||
return make_response("Down", 503)
|
return make_response("Down", 503)
|
||||||
|
Loading…
Reference in New Issue
Block a user