Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckal777 committed Sep 22, 2023
1 parent 3027925 commit 1d894ef
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,9 @@ func main() {
leaderElectionRetry := 5 * time.Second //nolint:gomnd
shutdownTimeout := 70 * time.Second //nolint:gomnd
mgr, err := ctrl.NewManager(restConfig, ctrl.Options{
Scheme: scheme,
Metrics: server.Options{
BindAddress: "0", // disable inbuilt metrics server
},
WebhookServer: webhook.NewServer(webhook.Options{
Port: 9443, //nolint:gomnd
}),
Scheme: scheme,
Metrics: server.Options{BindAddress: "0"}, // disable inbuilt metrics server
WebhookServer: webhook.NewServer(webhook.Options{Port: 9443}), //nolint:gomnd
HealthProbeBindAddress: probeAddr,
EventBroadcaster: event.NewNodeBroadcaster(),
LeaderElectionResourceLock: "leases",
Expand Down

0 comments on commit 1d894ef

Please sign in to comment.