Skip to content

Commit 4fe7b9b

Browse files
authored
Update predicates.go
1 parent d1420be commit 4fe7b9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/predicates.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
type Predicates interface {
1414
IgnoreNamespacePredicate(obj client.Object) bool
15-
IgnoreIgnoredObjectPredicate(obj client.Object) bool
15+
IgnoreObjectPredicate(obj client.Object) bool
1616
IgnoreUpdate(e event.UpdateEvent) bool
1717
}
1818

@@ -67,7 +67,7 @@ func (c *CommonPredicates) IgnoreNamespacePredicate(obj client.Object) bool {
6767
//
6868
// This function should be called within the create or update predicate to ensure that the namespaces with the
6969
// ignore annotation are properly filtered before reconciliation takes place.
70-
func (c *CommonPredicates) IgnoreIgnoredObjectPredicate(obj client.Object) bool {
70+
func (c *CommonPredicates) IgnoreObjectPredicate(obj client.Object) bool {
7171
var log = c.Log.WithName("predicates")
7272

7373
if ignoredStatus := obj.GetAnnotations()[c.IgnoreAnnotation]; ignoredStatus == "true" {

0 commit comments

Comments
 (0)