mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 01:47:53 +08:00
Fix typo in invalid cert name error message (#565)
BUG: validateCertificateList error message has valid spelled wrong.
This commit is contained in:
parent
af4f2464e2
commit
b928e7c22f
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ func validateCertificateList(certs []*acme.CertConfig, cfg *models.DNSConfig) er
|
|||
for _, cert := range certs {
|
||||
name := cert.CertName
|
||||
if !validCertNamesRegex.MatchString(name) {
|
||||
return fmt.Errorf("'%s' is not a valud certificate name. Only alphanumerics, - and _ allowed", name)
|
||||
return fmt.Errorf("'%s' is not a valid certificate name. Only alphanumerics, - and _ allowed", name)
|
||||
}
|
||||
sans := cert.Names
|
||||
if len(sans) > 100 {
|
||||
|
|
Loading…
Reference in a new issue