fix: gosec linter finding

Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
Mario Constanti 2024-02-22 11:34:48 +01:00
parent cbe8f09412
commit f9e41f11d1

View file

@ -49,8 +49,7 @@ import (
_ "expvar" // Register the expvar handlers _ "expvar" // Register the expvar handlers
"log/slog" "log/slog"
"net/http" "net/http"
// nolint:golangci-lint,gosec _ "net/http/pprof" //nolint:golangci-lint,gosec // Register the pprof handlers
_ "net/http/pprof" // Register the pprof handlers
"github.com/felixge/httpsnoop" "github.com/felixge/httpsnoop"
"github.com/gorilla/mux" "github.com/gorilla/mux"