Skip to content

Commit 0be3b98

Browse files
committed
Fix for cases without default localqueue
1 parent 179fd75 commit 0be3b98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/codeflare_sdk/cluster/cluster.py

+3
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,9 @@ def from_k8_cluster_object(
541541
mcad=mcad,
542542
write_to_file=write_to_file,
543543
verify_tls=verify_tls,
544+
local_queue=rc["metadata"]
545+
.get("labels", dict())
546+
.get("kueue.x-k8s.io/queue-name", None),
544547
)
545548
return Cluster(cluster_config)
546549

0 commit comments

Comments
 (0)