Skip to content

Commit

Permalink
Rever predicate changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arybolovlev committed Aug 5, 2024
1 parent 593d3bd commit 6ddc265
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/predicates.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import (
// For example: workspacePredicates().
func genericPredicates() predicate.Predicate {
return predicate.Funcs{
CreateFunc: func(e event.CreateEvent) bool {
return true
},
UpdateFunc: func(e event.UpdateEvent) bool {
// Update event has no old object to update.
if e.ObjectOld == nil {
Expand Down

0 comments on commit 6ddc265

Please sign in to comment.