From 3d2ad1abc0f60297156a517c7731ed92942c6d60 Mon Sep 17 00:00:00 2001 From: RGanor Date: Sun, 15 May 2022 13:57:13 +0000 Subject: [PATCH] LGTM fix - unused variable --- powerdnsadmin/routes/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerdnsadmin/routes/api.py b/powerdnsadmin/routes/api.py index cf74986..6a6d74e 100644 --- a/powerdnsadmin/routes/api.py +++ b/powerdnsadmin/routes/api.py @@ -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)