Skip to content

Commit 9c48adf

Browse files
committed
Drop client.DeduplicateWarnings in favor of controller-runtime
`client.New` configures `logf.NewKubeAPIWarningLogger` on the client by default.
1 parent 56e5b3d commit 9c48adf

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

cmd/sharder/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@ import (
2323
"sigs.k8s.io/controller-runtime/pkg/manager/signals"
2424

2525
"github.com/timebertt/kubernetes-controller-sharding/cmd/sharder/app"
26-
"github.com/timebertt/kubernetes-controller-sharding/pkg/utils/client"
2726
)
2827

2928
func main() {
30-
client.DeduplicateWarnings()
31-
3229
if err := app.NewCommand().ExecuteContext(signals.SetupSignalHandler()); err != nil {
3330
fmt.Println(err)
3431
os.Exit(1)

pkg/utils/client/warnings.go

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)