Skip to content

Commit f6d3e53

Browse files
authored
fix endpointslice_reconciler (#147)
1 parent a0cdf8f commit f6d3e53

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/ext-proc/backend/endpointslice_reconciler.go

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ func (c *EndpointSliceReconciler) Reconcile(ctx context.Context, req ctrl.Reques
4747
return ctrl.Result{}, nil
4848
}
4949

50+
// TODO: Support multiple endpointslices for a single service
5051
func (c *EndpointSliceReconciler) updateDatastore(
5152
slice *discoveryv1.EndpointSlice,
5253
inferencePool *v1alpha1.InferencePool) {

pkg/ext-proc/backend/inferencepool_reconciler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type InferencePoolReconciler struct {
2525
}
2626

2727
func (c *InferencePoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
28-
if req.NamespacedName.Name != c.ServerPoolName && req.NamespacedName.Namespace != c.Namespace {
28+
if req.NamespacedName.Name != c.ServerPoolName || req.NamespacedName.Namespace != c.Namespace {
2929
return ctrl.Result{}, nil
3030
}
3131
klog.V(1).Info("reconciling InferencePool", req.NamespacedName)

0 commit comments

Comments
 (0)