Skip to content

Commit

Permalink
Drop duplicate pprof and unused linter excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Aug 9, 2023
1 parent 59b8c79 commit d3b772c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ linters-settings:
- wrapperFunc
- rangeValCopy
- hugeParam
gosec:
excludes:
- G307 # Deferring unsafe method "Close" on type "\*os.File"
- G108 # Profiling endpoint is automatically exposed on /debug/pprof
importas:
no-unaliased: true
alias:
Expand Down
1 change: 0 additions & 1 deletion bootstrap/kubeadm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"context"
"flag"
"fmt"
_ "net/http/pprof"
"os"
goruntime "runtime"
"time"
Expand Down
1 change: 0 additions & 1 deletion controlplane/kubeadm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"context"
"flag"
"fmt"
_ "net/http/pprof"
"os"
goruntime "runtime"
"time"
Expand Down

0 comments on commit d3b772c

Please sign in to comment.