mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
Display cert not yet due for renewal message when renewing and no other action will be taken, and change cert to certificate
This commit is contained in:
parent
442dd25cb3
commit
17fa7f3d37
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue