mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 10:46:13 +08:00
Remove unused endpoints_to_remove (#12946)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user