We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3020b96 commit ad1b622Copy full SHA for ad1b622
util/apiwarnings/default.go
@@ -37,13 +37,10 @@ func DomainQualifiedFinalizerWarning(domain string) *regexp.Regexp {
37
// decisions made by the Cluster API project, but cannot be immediately
38
// addressed, and are therefore not helpful to the user.
39
func DefaultHandler(l logr.Logger) *DiscardMatchingHandler {
40
- return NewDiscardMatchingHandler(
41
- l,
42
- DiscardMatchingHandlerOptions{
43
- Deduplicate: true,
44
- Expressions: []regexp.Regexp{
45
- *DomainQualifiedFinalizerWarning(clusterv1.GroupVersion.Group),
46
- },
+ return &DiscardMatchingHandler{
+ Logger: l,
+ Expressions: []regexp.Regexp{
+ *DomainQualifiedFinalizerWarning(clusterv1.GroupVersion.Group),
47
},
48
- )
+ }
49
}
0 commit comments