We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6532ca + 4aa1ae6 commit b5072cbCopy full SHA for b5072cb
internal/certs/validation-expiration.go
@@ -727,7 +727,7 @@ func (evr ExpirationValidationResult) Status() string {
727
728
// but if it is, use the first SubjectAlternateName field in its place
729
if nextCertToExpire.Subject.CommonName == "" {
730
- if len(nextCertToExpire.DNSNames[0]) > 0 {
+ if len(nextCertToExpire.DNSNames) > 0 {
731
nextCertToExpireServerName = nextCertToExpire.DNSNames[0]
732
}
733
0 commit comments