[cli][ray] update ray cli message (#10823)

This commit is contained in:
Keqiu Hu
2020-09-17 09:26:55 -07:00
committed by Barak Michener
parent 43bf1641a0
commit 83814342ad
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -489,7 +489,7 @@ def start(node_ip_address, address, port, redis_password, redis_shard_ports,
cli_logger.print(
"ray{}init(address{}{}{})", c.magenta("."),
c.magenta("="), c.yellow("'auto'"),
", redis_password{}{}".format(
", _redis_password{}{}".format(
c.magenta("="),
c.yellow("'" + redis_password + "'"))
if redis_password else "")
@@ -10,7 +10,7 @@ Next steps
Alternatively, use the following Python code:
import ray
ray\.init\(address='auto', redis_password='.+'\)
ray\.init\(address='auto', _redis_password='.+'\)
If connection fails, check your firewall settings other network configuration.