mirror of
https://github.com/wassname/ray.git
synced 2026-07-15 11:25:40 +08:00
[Tech Debt] Use f-string for python/ray/*.py (#10268)
* In progress. * Done with critical path. * Modified cluster_utils.py and log_monitor.py * Addressed code review.
This commit is contained in:
@@ -203,8 +203,8 @@ class Cluster:
|
||||
return
|
||||
else:
|
||||
logger.debug(
|
||||
"{} nodes are currently registered, but we are expecting "
|
||||
"{}".format(len(live_clients), expected))
|
||||
f"{len(live_clients)} nodes are currently registered, "
|
||||
f"but we are expecting {expected}")
|
||||
time.sleep(0.1)
|
||||
raise TimeoutError("Timed out while waiting for nodes to join.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user