nit: comments
This commit is contained in:
parent
6073f9e7b6
commit
13ef965666
|
@ -105,7 +105,7 @@ def fetch_acme_cert(id):
|
||||||
if pending_cert.number_attempts > 4:
|
if pending_cert.number_attempts > 4:
|
||||||
error_log["message"] = "Deleting pending certificate"
|
error_log["message"] = "Deleting pending certificate"
|
||||||
send_pending_failure_notification(pending_cert, notify_owner=pending_cert.notify)
|
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(
|
pending_certificate_service.update(
|
||||||
cert.get("pending_cert").id,
|
cert.get("pending_cert").id,
|
||||||
resolved=True
|
resolved=True
|
||||||
|
|
|
@ -117,7 +117,7 @@ def fetch_all_acme():
|
||||||
error_log["cn"] = pending_cert.cn
|
error_log["cn"] = pending_cert.cn
|
||||||
|
|
||||||
if pending_cert.number_attempts > 4:
|
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)
|
send_pending_failure_notification(pending_cert, notify_owner=pending_cert.notify)
|
||||||
# Mark "resolved" as True
|
# Mark "resolved" as True
|
||||||
pending_certificate_service.update(
|
pending_certificate_service.update(
|
||||||
|
|
Loading…
Reference in New Issue