Commit 4df4d86d authored by Adrien Dorsaz's avatar Adrien Dorsaz

adt: use more explicit variable name in dns_update method

parent 3ae41967
......@@ -27,9 +27,9 @@ def get_crt(config, log=LOGGER):
dns_update.add(rrset.name, rrset)
elif action == "delete":
dns_update.delete(rrset.name, rrset)
resp = dns.query.tcp(dns_update, config["DNS"]["Host"], port=config.getint("DNS", "Port"))
response = dns.query.tcp(dns_update, config["DNS"]["Host"], port=config.getint("DNS", "Port"))
dns_update = None
return resp
return response
def _send_signed_request(url, payload):
"""Sends signed requests to ACME server."""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment