housekeeping

This commit is contained in:
m5r
2023-12-12 22:25:39 +01:00
parent 45e35acfd9
commit 9ef6fc35f5
9 changed files with 90 additions and 42 deletions

View File

@@ -105,7 +105,7 @@ func getLastCertificate(legoClient *lego.Client) *certificate.Resource {
return nil
}
var lastCertificate = &certificate.Resource{}
lastCertificate := &certificate.Resource{}
err = json.Unmarshal(jsonBytes, lastCertificate)
if err != nil {
log.Println(err)