From c7a59b239f67b990c7235f0fd3a1eca0046d954d Mon Sep 17 00:00:00 2001 From: Edward Oakes Date: Thu, 17 Dec 2020 15:04:11 -0600 Subject: [PATCH] Remove unused endpoints_to_remove (#12946) --- python/ray/serve/controller.py | 3 --- 1 file changed, 3 deletions(-) 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