removing duplicate line

This commit is contained in:
Hossein Shafagh 2020-05-08 09:15:18 -07:00
parent 65b193a891
commit 529ee04ae7
1 changed files with 0 additions and 2 deletions

View File

@ -504,8 +504,6 @@ def automatically_enable_autorotate():
log_data["certificate_id"] = cert.id log_data["certificate_id"] = cert.id
log_data["message"] = "Enabling auto-rotate for certificate" log_data["message"] = "Enabling auto-rotate for certificate"
current_app.logger.info(log_data) current_app.logger.info(log_data)
cert.rotation = True
database.update(cert)
# TODO: add the cert destination to the logging # TODO: add the cert destination to the logging
metrics.send("automatically_enable_autorotate", metrics.send("automatically_enable_autorotate",
"counter", 1, "counter", 1,