Fix typo in invalid cert name error message (#565)

BUG: validateCertificateList error message has valid spelled wrong.
This commit is contained in:
wsuff 2019-11-22 08:30:57 -05:00 committed by Tom Limoncelli
parent af4f2464e2
commit b928e7c22f

View file

@ -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 {