Skip to content

Commit 85da8d2

Browse files
Bug-fix wait_ready functionality (#507)
1 parent 421a3db commit 85da8d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codeflare_sdk/cluster/cluster.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def _get_app_wrappers(
848848

849849

850850
def _map_to_ray_cluster(rc) -> Optional[RayCluster]:
851-
if "state" in rc["status"]:
851+
if "status" in rc and "state" in rc["status"]:
852852
status = RayClusterStatus(rc["status"]["state"].lower())
853853
else:
854854
status = RayClusterStatus.UNKNOWN

0 commit comments

Comments
 (0)