We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421a3db commit 85da8d2Copy full SHA for 85da8d2
src/codeflare_sdk/cluster/cluster.py
@@ -848,7 +848,7 @@ def _get_app_wrappers(
848
849
850
def _map_to_ray_cluster(rc) -> Optional[RayCluster]:
851
- if "state" in rc["status"]:
+ if "status" in rc and "state" in rc["status"]:
852
status = RayClusterStatus(rc["status"]["state"].lower())
853
else:
854
status = RayClusterStatus.UNKNOWN
0 commit comments