mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 20:24:03 +08:00
Drop duplicated string format (#4897)
This string format is unnecessary. java_worker_options has been appended to the commandline later.
This commit is contained in:
@@ -1231,7 +1231,7 @@ def build_java_worker_command(
|
||||
"""
|
||||
assert java_worker_options is not None
|
||||
|
||||
command = "java ".format(java_worker_options)
|
||||
command = "java "
|
||||
if redis_address is not None:
|
||||
command += "-Dray.redis.address={} ".format(redis_address)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user