1
0
Fork 0

Bump github.com/go-acme/lego/v4 to v4.27.0

This commit is contained in:
Ludovic Fernandez 2025-10-20 16:22:06 +02:00 committed by GitHub
parent b4847d74bc
commit ecf08b91a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 134 additions and 131 deletions

View file

@ -11,6 +11,7 @@ import (
"net/url"
"os"
"reflect"
"slices"
"sort"
"strconv"
"strings"
@ -651,9 +652,8 @@ func (p *Provider) resolveDefaultCertificate(ctx context.Context, domains []stri
p.resolvingDomainsMutex.Lock()
sortedDomains := make([]string, len(domains))
copy(sortedDomains, domains)
sort.Strings(sortedDomains)
sortedDomains := slices.Clone(domains)
slices.Sort(sortedDomains)
domainKey := strings.Join(sortedDomains, ",")