Improve authz handling. (#998)

This commit is contained in:
Felix Fontein
2026-04-05 11:45:11 +02:00
committed by GitHub
parent f3b43185bf
commit d966acbef4
4 changed files with 26 additions and 18 deletions

View File

@@ -982,7 +982,7 @@ class ACMECertificateClient:
except Exception:
# ignore errors
pass
if authz.status != "deactivated":
if not authz.is_in_final_state(allow_valid=False):
self.module.warn(
warning=f"Could not deactivate authz object {authz.url}."
)