fix bug of aggregating status to resourcebinding
Signed-off-by: lihanbo <lihanbo2@huawei.com>
This commit is contained in:
parent
36922fc37d
commit
3da0a0c117
|
@ -47,7 +47,7 @@ var workPredicateFn = builder.WithPredicates(predicate.Funcs{
|
||||||
return !reflect.DeepEqual(statusesOld, statusesNew)
|
return !reflect.DeepEqual(statusesOld, statusesNew)
|
||||||
},
|
},
|
||||||
DeleteFunc: func(event.DeleteEvent) bool {
|
DeleteFunc: func(event.DeleteEvent) bool {
|
||||||
return false
|
return true
|
||||||
},
|
},
|
||||||
GenericFunc: func(event.GenericEvent) bool {
|
GenericFunc: func(event.GenericEvent) bool {
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue