From 8d75b19e27fc595dc77af9a8a21ff48842af5012 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Fri, 22 Dec 2023 16:08:02 +0100 Subject: [PATCH] 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. --- error.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/error.go b/error.go index 105d576..9fba1f2 100644 --- a/error.go +++ b/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")