From d4fce42fd7d331a221bd444e6c0c85210c1dbf94 Mon Sep 17 00:00:00 2001 From: Max Lerebourg Date: Fri, 30 Sep 2022 00:03:09 +0200 Subject: [PATCH] :bento: lint --- bouncer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bouncer.go b/bouncer.go index b660376..327e316 100644 --- a/bouncer.go +++ b/bouncer.go @@ -87,7 +87,7 @@ type Bouncer struct { // New creates the crowdsec bouncer plugin. func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) { err := validateParams(config) - if (err != nil) { + if err != nil { return nil, err }