fix: review path information. (#1151)

This commit is contained in:
Ludovic Fernandez 2020-05-11 10:29:39 +02:00 committed by GitHub
parent f13a88feb5
commit eb112e381c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,8 +142,8 @@ func renewForDomains(ctx *cli.Context, client *lego.Client, certsStorage *Certif
certsStorage.SaveResource(certRes)
meta[renewEnvCertDomain] = domain
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, "crt")
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, "key")
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, ".crt")
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, ".key")
return renewHook(ctx, meta)
}
@ -182,8 +182,8 @@ func renewForCSR(ctx *cli.Context, client *lego.Client, certsStorage *Certificat
certsStorage.SaveResource(certRes)
meta[renewEnvCertDomain] = domain
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, "crt")
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, "key")
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, ".crt")
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, ".key")
return renewHook(ctx, meta)
}