From 089796a84957961a36ef66e285f9eab90e97fea2 Mon Sep 17 00:00:00 2001 From: Hossein Shafagh Date: Thu, 28 Jan 2021 15:47:41 -0800 Subject: [PATCH] bug, intention was to skip a region --- lemur/certificates/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lemur/certificates/cli.py b/lemur/certificates/cli.py index 56dd9260..85b62c41 100644 --- a/lemur/certificates/cli.py +++ b/lemur/certificates/cli.py @@ -428,6 +428,7 @@ def rotate_region(endpoint_name, new_certificate_name, old_certificate_name, mes "endpoint_name": str(endpoint.dnsname), }, ) + continue if len(endpoint.certificate.replaced) == 1: log_data["certificate"] = endpoint.certificate.replaced[0].name