From 13ef9656667737ed2e8f7a106eacecde6ff5814a Mon Sep 17 00:00:00 2001 From: Curtis Castrapel Date: Fri, 12 Oct 2018 05:56:14 -0700 Subject: [PATCH] nit: comments --- lemur/common/celery.py | 2 +- lemur/pending_certificates/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(