mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40: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)
|
||||
|
||||
try:
|
||||
resp = domain.get_domain_info(domain_to_query.name)
|
||||
domain.get_domain_info(domain_to_query.name)
|
||||
except Exception as e:
|
||||
current_app.logger.error("Health Check - Failed to query authoritative server for domain {}".format(domain_to_query.name))
|
||||
return make_response("Down", 503)
|
||||
|
Loading…
Reference in New Issue
Block a user