Skip to content

Commit

Permalink
Fix function call
Browse files Browse the repository at this point in the history
Signed-off-by: Vaibhav Jain <vajain@redhat.com>
  • Loading branch information
vaibhavjainwiz committed Jan 4, 2024
1 parent 18b3b51 commit 874ccc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/inferenceservice_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (r *OpenshiftInferenceServiceReconciler) SetupWithManager(mgr ctrl.Manager)
Watches(&source.Kind{Type: &networkingv1.NetworkPolicy{}},
handler.EnqueueRequestsFromMapFunc(func(o client.Object) []reconcile.Request {
r.log.Info("Reconcile event triggered by Network Policy: " + o.GetName())
return r.getReconcileRequestsOnUpdateOfServingRuntime(o)
return r.getReconcileRequestsOnUpdateOfNetworkPolicy(o)
}))
err := builder.Complete(r)
if err != nil {
Expand Down

0 comments on commit 874ccc8

Please sign in to comment.