Skip to content

Commit

Permalink
Merge pull request #2953 from dlipovetsky/warning-do-not-deduplicate-…
Browse files Browse the repository at this point in the history
…by-default

⚠️  Do not deduplicate warnings by default
  • Loading branch information
k8s-ci-robot authored Nov 5, 2024
2 parents 98d85d4 + 1eb0c53 commit 3ead9eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ func newClient(config *rest.Config, options Options) (*client, error) {
}

if config.WarningHandler == nil {
// By default, we de-duplicate and surface warnings.
// By default, we surface warnings.
config.WarningHandler = log.NewKubeAPIWarningLogger(
log.Log.WithName("KubeAPIWarningLogger"),
log.KubeAPIWarningLoggerOptions{
Deduplicate: true,
Deduplicate: false,
},
)
}
Expand Down

0 comments on commit 3ead9eb

Please sign in to comment.