Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/operator/internal/certrotation/expiry.go

17 lines
346 B

package certrotation
import (
"fmt"
"strings"
)
// CertExpiredError contains information if a certificate expired
// and the reasons of expiry.
type CertExpiredError struct {
Message string
Reasons []string
}
func (e *CertExpiredError) Error() string {
return fmt.Sprintf("%s for reasons: %s", e.Message, strings.Join(e.Reasons, ", "))
}