From 507d877c018af275cbdf9dbe2280000aefcb99b4 Mon Sep 17 00:00:00 2001 From: Ryan O'Leary Date: Wed, 19 Nov 2025 21:09:47 +0000 Subject: [PATCH] Remove erroneous call in applyServeTargetCapacity Signed-off-by: Ryan O'Leary --- ray-operator/controllers/ray/rayservice_controller.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ray-operator/controllers/ray/rayservice_controller.go b/ray-operator/controllers/ray/rayservice_controller.go index a774cd3d127..53405652c96 100644 --- a/ray-operator/controllers/ray/rayservice_controller.go +++ b/ray-operator/controllers/ray/rayservice_controller.go @@ -1361,13 +1361,12 @@ func (r *RayServiceReconciler) applyServeTargetCapacity(ctx context.Context, ray return err } - // Update the status fields and cache new Serve config. + // Update the TargetCapacity status fields. if rayClusterInstance.Name == rayServiceInstance.Status.ActiveServiceStatus.RayClusterName { rayServiceInstance.Status.ActiveServiceStatus.TargetCapacity = ptr.To(goalTargetCapacity) } else if rayClusterInstance.Name == rayServiceInstance.Status.PendingServiceStatus.RayClusterName { rayServiceInstance.Status.PendingServiceStatus.TargetCapacity = ptr.To(goalTargetCapacity) } - r.cacheServeConfig(rayServiceInstance, rayClusterInstance.Name) return nil }