bug, intention was to skip a region

This commit is contained in:
Hossein Shafagh 2021-01-28 15:47:41 -08:00
parent 80f83efec2
commit 089796a849
1 changed files with 1 additions and 0 deletions

View File

@ -428,6 +428,7 @@ def rotate_region(endpoint_name, new_certificate_name, old_certificate_name, mes
"endpoint_name": str(endpoint.dnsname), "endpoint_name": str(endpoint.dnsname),
}, },
) )
continue
if len(endpoint.certificate.replaced) == 1: if len(endpoint.certificate.replaced) == 1:
log_data["certificate"] = endpoint.certificate.replaced[0].name log_data["certificate"] = endpoint.certificate.replaced[0].name