🍱 fix lint

This commit is contained in:
maxlerebourg
2026-07-31 14:39:09 +02:00
parent 6b0518859d
commit 1ba556e918
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ func New(_ context.Context, next http.Handler, config *configuration.Config, nam
// ServeHTTP principal function of plugin.
//
//nolint:nestif
//nolint:nestif,gocognit
func (bouncer *Bouncer) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
if !bouncer.enabled {
bouncer.next.ServeHTTP(rw, req)