diff --git a/config.go b/config.go index 3f7fa9daa..340406a4d 100644 --- a/config.go +++ b/config.go @@ -524,6 +524,8 @@ func NewConfig() *Config { // Validate checks a Config instance. It will return a // ConfigurationError if the specified values don't make sense. +// +//nolint:gocyclo // This function's cyclomatic complexity has go beyond 100 func (c *Config) Validate() error { // some configuration values should be warned on but not fail completely, do those first if !c.Net.TLS.Enable && c.Net.TLS.Config != nil {