Skip to content

Commit

Permalink
Drop duplicated string format (#4897)
Browse files Browse the repository at this point in the history
This string format is unnecessary. java_worker_options has been appended to the commandline later.
  • Loading branch information
suquark authored May 30, 2019
1 parent 2912a7c commit 4e0be8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ray/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4e0be8b

Please sign in to comment.