Skip to content

Commit 3084088

Browse files
Fix Dashboard URI returned by cluster.status()
1 parent fb34ba4 commit 3084088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codeflare_sdk/cluster/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ def _map_to_ray_cluster(rc) -> Optional[RayCluster]:
544544
ray_route = None
545545
for route in routes["items"]:
546546
if route["metadata"]["name"] == f"ray-dashboard-{rc['metadata']['name']}":
547-
ray_route = route["spec"]["host"]
547+
ray_route = f"http://{route['spec']['host']}"
548548

549549
return RayCluster(
550550
name=rc["metadata"]["name"],

0 commit comments

Comments
 (0)