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:
Si-Yuan
2019-05-30 19:43:27 +08:00
committed by GitHub
parent 2912a7cb86
commit 4e0be8b450
+1 -1
View File
@@ -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)