mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05: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:
parent
2912a7cb86
commit
4e0be8b450
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue