diff --git a/python/ray/serve/controller.py b/python/ray/serve/controller.py index 5237d453c..cba1ec64b 100644 --- a/python/ray/serve/controller.py +++ b/python/ray/serve/controller.py @@ -154,7 +154,6 @@ class ActorStateReconciler: backend_replicas_to_stop: Dict[BackendTag, List[ReplicaTag]] = field( default_factory=lambda: defaultdict(list)) backends_to_remove: List[BackendTag] = field(default_factory=list) - endpoints_to_remove: List[EndpointTag] = field(default_factory=list) # TODO(edoakes): consider removing this and just using the names. @@ -833,8 +832,6 @@ class ServeController: if endpoint in self.current_state.traffic_policies: del self.current_state.traffic_policies[endpoint] - self.actor_reconciler.endpoints_to_remove.append(endpoint) - return_uuid = self._create_event_with_result({ route_to_delete: None, endpoint: None