Skip to content

Commit

Permalink
Merge pull request #763 from RedHatInsights/psav/reenable
Browse files Browse the repository at this point in the history
Re-enable pprof
  • Loading branch information
psav authored Jan 26, 2023
2 parents 644508c + f275d3c commit f1901b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ issues:
linters:
- gofmt
- goimports
exclude:
- "G108: Profiling endpoint is automatically"
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import (

// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
// to ensure that exec-entrypoint and run can make use of them.
_ "net/http/pprof"

"go.uber.org/zap"
_ "k8s.io/client-go/plugin/pkg/client/auth"

Expand Down

0 comments on commit f1901b8

Please sign in to comment.