Correct typo in error.go comments

The comments for the 'ErrCertConfigEmpty' variable in error.go contained a typo. This has been corrected to more accurately reflect the error that is returned when a TLS listener is configured without setting certificate or key paths.
This commit is contained in:
Winni Neessen 2023-12-22 16:08:02 +01:00
parent c9f7726473
commit 8d75b19e27
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

View file

@ -6,5 +6,6 @@ package logranger
import "errors" import "errors"
// ErrCertConfigEmpty is returned if a TLS listener is configured but not certificate or key paths are set // ErrCertConfigEmpty is returned if a TLS listener is configured but ot certificate
// or key paths are set
var ErrCertConfigEmpty = errors.New("certificate and key paths are required for listener type: TLS") var ErrCertConfigEmpty = errors.New("certificate and key paths are required for listener type: TLS")