mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 14:12:00 +08:00
[Dashboard] Tune dashboard bug fix (#7766)
* Figured out why Tune was unavailable. * Minor fix.
This commit is contained in:
@@ -259,6 +259,8 @@ class DashboardController(BaseDashboardController):
|
||||
def start_collecting_metrics(self):
|
||||
self.node_stats.start()
|
||||
self.raylet_stats.start()
|
||||
if Analysis is not None:
|
||||
self.tune_stats.start()
|
||||
|
||||
|
||||
class DashboardRouteHandler(BaseDashboardRouteHandler):
|
||||
@@ -270,7 +272,7 @@ class DashboardRouteHandler(BaseDashboardRouteHandler):
|
||||
def forbidden(self) -> aiohttp.web.Response:
|
||||
return aiohttp.web.Response(status=403, text="403 Forbidden")
|
||||
|
||||
def get_forbidden(self, _) -> aiohttp.web.Response:
|
||||
async def get_forbidden(self, _) -> aiohttp.web.Response:
|
||||
return self.forbidden()
|
||||
|
||||
async def get_index(self, req) -> aiohttp.web.Response:
|
||||
|
||||
Reference in New Issue
Block a user