mirror of
https://github.com/wneessen/logranger.git
synced 2024-11-22 04:40:49 +01:00
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:
parent
c9f7726473
commit
8d75b19e27
1 changed files with 2 additions and 1 deletions
3
error.go
3
error.go
|
@ -6,5 +6,6 @@ package logranger
|
|||
|
||||
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")
|
||||
|
|
Loading…
Reference in a new issue