fix bug of aggregating status to resourcebinding

Signed-off-by: lihanbo <lihanbo2@huawei.com>
This commit is contained in:
lihanbo 2021-09-07 21:00:07 +08:00
parent 36922fc37d
commit 3da0a0c117
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ var workPredicateFn = builder.WithPredicates(predicate.Funcs{
return !reflect.DeepEqual(statusesOld, statusesNew)
},
DeleteFunc: func(event.DeleteEvent) bool {
return false
return true
},
GenericFunc: func(event.GenericEvent) bool {
return false