[Refactor] Rename ClientId to NodeId (#10992)

* rename ClientId to NodeId

* format lint

* format lint

* fix conflicts

* rename new ClientId to NodeId

* update lint

* make same version of clang-format with travis ci
This commit is contained in:
DK.Pino
2020-09-28 01:24:21 +08:00
committed by GitHub
parent f69b390755
commit db7097fb1f
111 changed files with 862 additions and 889 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ class GlobalState:
"""
self._check_connected()
node_id = ray.ClientID(hex_to_binary(node_id))
node_id = ray.NodeID(hex_to_binary(node_id))
node_resource_bytes = \
self.global_state_accessor.get_node_resource_info(node_id)
if node_resource_bytes is None: