Fix webui api (#4686)

* fix webui

* Apply suggestions from code review

lint

Co-Authored-By: suquark <suquark@gmail.com>

* add dependencies for this unittest

* move dependencies to the script file
This commit is contained in:
Si-Yuan
2019-04-27 15:23:56 +08:00
committed by GitHub
parent 663e92ab3f
commit 9ce3039390
3 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -1102,7 +1102,7 @@ def get_webui_url():
"""
if _global_node is None:
raise Exception("Ray has not been initialized/connected.")
return _global_node.get_webui_url
return _global_node.webui_url
global_worker = Worker()