mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
fix: enforce domain into renewal command (#2576)
This commit is contained in:
parent
96b18d764d
commit
bfa487cc48
1 changed files with 3 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ func renewForDomains(ctx *cli.Context, account *Account, keyType certcrypto.KeyT
|
|||
time.Sleep(sleepTime)
|
||||
}
|
||||
|
||||
renewalDomains := domains
|
||||
renewalDomains := slices.Clone(domains)
|
||||
if !forceDomains {
|
||||
renewalDomains = merge(certDomains, domains)
|
||||
}
|
||||
|
|
@ -258,6 +258,8 @@ func renewForDomains(ctx *cli.Context, account *Account, keyType certcrypto.KeyT
|
|||
log.Fatal(err)
|
||||
}
|
||||
|
||||
certRes.Domain = domain
|
||||
|
||||
certsStorage.SaveResource(certRes)
|
||||
|
||||
addPathToMetadata(meta, domain, certRes, certsStorage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue