From 4e0be8b4500d00dc0deb675e634d46a6a95b388c Mon Sep 17 00:00:00 2001 From: Si-Yuan Date: Thu, 30 May 2019 19:43:27 +0800 Subject: [PATCH] Drop duplicated string format (#4897) This string format is unnecessary. java_worker_options has been appended to the commandline later. --- python/ray/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/services.py b/python/ray/services.py index 7dc594963cec..00ae4e1a2b09 100644 --- a/python/ray/services.py +++ b/python/ray/services.py @@ -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)