mirror of
https://github.com/wneessen/logranger.git
synced 2024-11-25 22:25:09 +01:00
Winni Neessen
8d75b19e27
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.
11 lines
345 B
Go
11 lines
345 B
Go
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package logranger
|
|
|
|
import "errors"
|
|
|
|
// 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")
|