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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)