forked from TrueCloudLab/lego
chore: update linter. (#1275)
This commit is contained in:
parent
88823a5c92
commit
918037b8af
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ func (s *CertificatesStorage) MoveToArchive(domain string) error {
|
|||
|
||||
// sanitizedDomain Make sure no funny chars are in the cert names (like wildcards ;)).
|
||||
func sanitizedDomain(domain string) string {
|
||||
safe, err := idna.ToASCII(strings.Replace(domain, "*", "_", -1))
|
||||
safe, err := idna.ToASCII(strings.ReplaceAll(domain, "*", "_"))
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue