From 17fa7f3d37c6d48a02945d49ffaae81827031c6b Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Tue, 11 May 2021 15:14:05 -0700 Subject: [PATCH] Display cert not yet due for renewal message when renewing and no other action will be taken, and change cert to certificate --- certbot/certbot/_internal/renewal.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/certbot/certbot/_internal/renewal.py b/certbot/certbot/_internal/renewal.py index 48ba39b81..6b4ab1163 100644 --- a/certbot/certbot/_internal/renewal.py +++ b/certbot/certbot/_internal/renewal.py @@ -295,12 +295,12 @@ def should_renew(config, lineage): logger.debug("Auto-renewal forced with --force-renewal...") return True if lineage.should_autorenew(): - logger.info("Cert is due for renewal, auto-renewing...") + logger.info("Certificate is due for renewal, auto-renewing...") return True if config.dry_run: - logger.info("Cert not due for renewal, but simulating renewal for dry run") + logger.info("Certificate not due for renewal, but simulating renewal for dry run") return True - logger.info("Cert not yet due for renewal") + display_util.notify("Certificate not yet due for renewal") return False