Skip to content

Commit 7ded58d

Browse files
Changes in docs for release: v0.15.1
1 parent 771d4df commit 7ded58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/detailed-documentation/cluster/cluster.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.cluster</code></h1>
880880

881881

882882
def _map_to_ray_cluster(rc) -&gt; Optional[RayCluster]:
883-
if &#34;state&#34; in rc[&#34;status&#34;]:
883+
if &#34;status&#34; in rc and &#34;state&#34; in rc[&#34;status&#34;]:
884884
status = RayClusterStatus(rc[&#34;status&#34;][&#34;state&#34;].lower())
885885
else:
886886
status = RayClusterStatus.UNKNOWN

0 commit comments

Comments
 (0)