Skip to content

Commit 55a047a

Browse files
authored
fix(vmop): fix deleting vmops when controller restarted (#1471)
Signed-off-by: Dmitry Lopatin <[email protected]>
1 parent 596f179 commit 55a047a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

images/virtualization-artifact/pkg/controller/gc/gc_reconciler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func (r *Reconciler) SetupWithManager(controllerName string, mgr ctrl.Manager, l
7272
return ctrl.NewControllerManagedBy(mgr).
7373
Named(controllerName).
7474
For(r.mgr.New(), builder.WithPredicates(predicate.Funcs{
75+
CreateFunc: func(ce event.CreateEvent) bool { return false },
7576
UpdateFunc: func(ue event.UpdateEvent) bool {
7677
return false
7778
},

0 commit comments

Comments
 (0)