mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Ray client version check strict eq (#13926)
This commit is contained in:
parent
eee624cf5f
commit
f782ed59a0
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ class RayAPIStub:
|
|||
logger.warning(msg)
|
||||
else:
|
||||
raise RuntimeError(msg)
|
||||
if CURRENT_PROTOCOL_VERSION < conn_info["protocol_version"]:
|
||||
msg = "Client Ray installation out of date:" + \
|
||||
if CURRENT_PROTOCOL_VERSION != conn_info["protocol_version"]:
|
||||
msg = "Client Ray installation incompatible with server:" + \
|
||||
f" client is {CURRENT_PROTOCOL_VERSION}," + \
|
||||
f" server is {conn_info['protocol_version']}"
|
||||
if ignore_version:
|
||||
|
|
Loading…
Add table
Reference in a new issue