Skip to content

Commit

Permalink
prep
Browse files Browse the repository at this point in the history
  • Loading branch information
oksanabaza committed May 10, 2024
1 parent e311d9b commit f343f39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/codeflare_sdk/utils/generate_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,12 @@ def write_components(
# test lines
open(output_file_name, "w").close()
lq_name = local_queue or get_default_kueue_name(namespace)
# test lines
# if local_queue is None or local_queue == "":
if local_queue is None:
print("kueue is not installed or won't be used because the absence of CRDs may lack the necessary functionality.")
return
# test lines
with open(output_file_name, "a") as outfile:
for component in components:
if "generictemplate" in component:
Expand Down

0 comments on commit f343f39

Please sign in to comment.