Remove public facing references to --redis-address. (#6631)

This commit is contained in:
Robert Nishihara
2019-12-31 13:21:53 -08:00
committed by GitHub
parent 1cb335487e
commit d2c6457832
24 changed files with 39 additions and 43 deletions
+2 -2
View File
@@ -156,11 +156,11 @@ def call_ray_start(request):
out = ray.utils.decode(
subprocess.check_output(command_args, stderr=subprocess.STDOUT))
# Get the redis address from the output.
redis_substring_prefix = "redis_address=\""
redis_substring_prefix = "--address='"
address_location = (
out.find(redis_substring_prefix) + len(redis_substring_prefix))
address = out[address_location:]
address = address.split("\"")[0]
address = address.split("'")[0]
yield address