From f9e41f11d1fa3c397928632c47bca363d19b03c8 Mon Sep 17 00:00:00 2001 From: Mario Constanti Date: Thu, 22 Feb 2024 11:34:48 +0100 Subject: [PATCH] fix: gosec linter finding Signed-off-by: Mario Constanti --- apiserver/routers/routers.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apiserver/routers/routers.go b/apiserver/routers/routers.go index ecc39f6f..5b4e69ab 100644 --- a/apiserver/routers/routers.go +++ b/apiserver/routers/routers.go @@ -49,8 +49,7 @@ import ( _ "expvar" // Register the expvar handlers "log/slog" "net/http" - // nolint:golangci-lint,gosec - _ "net/http/pprof" // Register the pprof handlers + _ "net/http/pprof" //nolint:golangci-lint,gosec // Register the pprof handlers "github.com/felixge/httpsnoop" "github.com/gorilla/mux"