Skip to content

Commit f1a3771

Browse files
authored
interface conversion error (#93)
1 parent 069e014 commit f1a3771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/namespacescope_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ func (r *NamespaceScopeReconciler) SetupWithManager(mgr ctrl.Manager) error {
10541054
}
10551055
err = ctrl.NewControllerManagedBy(mgr).
10561056
For(&operatorv1.NamespaceScope{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).
1057-
Watches(&source.Kind{Type: &olmv1alpha1.Subscription{}}, &handler.EnqueueRequestsFromMapFunc{
1057+
Watches(&source.Kind{Type: &olmv1alpha1.ClusterServiceVersion{}}, &handler.EnqueueRequestsFromMapFunc{
10581058
ToRequests: r.csvtoRequest(),
10591059
}, builder.WithPredicates(predicate.Funcs{
10601060
DeleteFunc: func(e event.DeleteEvent) bool {

0 commit comments

Comments
 (0)