Skip to content

Commit 9c70349

Browse files
Use != for RV comparison
Signed-off-by: whitewindmills <[email protected]>
1 parent 3ff8700 commit 9c70349

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)