🍱 lint

This commit is contained in:
Max Lerebourg
2022-09-30 00:03:09 +02:00
parent 253caac5a4
commit d4fce42fd7
+1 -1
View File
@@ -87,7 +87,7 @@ type Bouncer struct {
// New creates the crowdsec bouncer plugin. // New creates the crowdsec bouncer plugin.
func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) { func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) {
err := validateParams(config) err := validateParams(config)
if (err != nil) { if err != nil {
return nil, err return nil, err
} }