From 843ffad60e404ab03af4a49b2ffa41eb3650b9fb Mon Sep 17 00:00:00 2001 From: Hossein Shafagh Date: Thu, 7 May 2020 17:10:50 -0700 Subject: [PATCH] removing testing comments --- lemur/certificates/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lemur/certificates/cli.py b/lemur/certificates/cli.py index 15616064..c55fa8a2 100644 --- a/lemur/certificates/cli.py +++ b/lemur/certificates/cli.py @@ -353,7 +353,7 @@ def rotate_region(endpoint_name, new_certificate_name, old_certificate_name, mes log_data = f"[+] Rotating endpoint in region: {endpoint.dnsname} to certificate {new_cert.name}" print(log_data) current_app.logger.info(log_data) - #request_rotation(endpoint, new_cert, message, commit) + request_rotation(endpoint, new_cert, message, commit) else: log_data = f"[+] Skipping rotation of {endpoint.dnsname} since not in {region}" print(log_data) @@ -368,7 +368,7 @@ def rotate_region(endpoint_name, new_certificate_name, old_certificate_name, mes log_data = f"[+] Rotating {endpoint.dnsname} in {region}" print(log_data) current_app.logger.info(log_data) - #request_rotation(endpoint, new_cert, message, commit) + request_rotation(endpoint, new_cert, message, commit) else: log_data = f"[+] Skipping rotation of {endpoint.dnsname} since not in {region}" print(log_data) @@ -398,7 +398,7 @@ def rotate_region(endpoint_name, new_certificate_name, old_certificate_name, mes log_data = f"[+] Rotating {endpoint.dnsname} in {region} to {endpoint.certificate.replaced[0].name}" print(log_data) current_app.logger.info(log_data) - #request_rotation(endpoint, endpoint.certificate.replaced[0], message, commit) + request_rotation(endpoint, endpoint.certificate.replaced[0], message, commit) status = SUCCESS_METRIC_STATUS else: status = FAILURE_METRIC_STATUS