diff --git a/lemur/common/celery.py b/lemur/common/celery.py index b0280afc..b7a0da5a 100644 --- a/lemur/common/celery.py +++ b/lemur/common/celery.py @@ -105,7 +105,7 @@ def fetch_acme_cert(id): if pending_cert.number_attempts > 4: error_log["message"] = "Deleting pending certificate" send_pending_failure_notification(pending_cert, notify_owner=pending_cert.notify) - # Mark the pending cert as True + # Mark the pending cert as resolved pending_certificate_service.update( cert.get("pending_cert").id, resolved=True diff --git a/lemur/pending_certificates/cli.py b/lemur/pending_certificates/cli.py index c4e62549..6424c5f5 100644 --- a/lemur/pending_certificates/cli.py +++ b/lemur/pending_certificates/cli.py @@ -117,7 +117,7 @@ def fetch_all_acme(): error_log["cn"] = pending_cert.cn if pending_cert.number_attempts > 4: - error_log["message"] = "Marking pending certificate" + error_log["message"] = "Marking pending certificate as resolved" send_pending_failure_notification(pending_cert, notify_owner=pending_cert.notify) # Mark "resolved" as True pending_certificate_service.update(