We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d431a06 commit b9f1a18Copy full SHA for b9f1a18
1 file changed
internal/controller/traits_controller.go
@@ -73,7 +73,7 @@ func (tc *TraitsController) Reconcile(ctx context.Context, req ctrl.Request) (ct
73
74
customTraitsApplied := slices.Collect(func(yield func(string) bool) {
75
for _, trait := range hv.Status.Traits {
76
- if strings.HasPrefix(trait, customPrefix) && yield(trait) {
+ if strings.HasPrefix(trait, customPrefix) && !yield(trait) {
77
return
78
}
79
0 commit comments