letsencrypt - use same job_name for both new and renew jobs

This commit is contained in:
bunkerity 2023-06-15 18:00:27 +02:00
parent 9adb209a81
commit 9e00b9dd13
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ try:
bio.seek(0, 0)
# Put tgz in cache
cached, err = set_file_in_db("folder.tgz", bio.read(), db)
cached, err = set_file_in_db("folder.tgz", bio.read(), db, job_name="certbot-renew")
if not cached:
logger.error(f"Error while saving Let's Encrypt data to db cache : {err}")