Skip to content

Commit abb77d9

Browse files
authored
Merge pull request #4911 from whitewindmills/rv-compare
chore: Use != for RV comparison
2 parents 4a0876c + 9c70349 commit abb77d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/status/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var bindingPredicateFn = builder.WithPredicates(predicate.Funcs{
6868
return false
6969
}
7070

71-
return !reflect.DeepEqual(oldResourceVersion, newResourceVersion)
71+
return oldResourceVersion != newResourceVersion
7272
},
7373
DeleteFunc: func(e event.DeleteEvent) bool { return false },
7474
})

0 commit comments

Comments
 (0)