fix: gosec linter finding
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
parent
cbe8f09412
commit
f9e41f11d1
1 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue