File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1- Fixes processing of relationshhip during nodes retrieval using the Sync Client, when prefecthing related_nodes
1+ Fixes processing of relationshhip during nodes retrieval using the Sync Client, when prefecthing related_nodes.
Original file line number Diff line number Diff line change 1- Fixes ignored node variable in filters()
1+ Fixes ignored node variable in filters().
Original file line number Diff line number Diff line change 1- Fixes using of parallel with filters for Infrahub Client Sync
1+ Fixes using of parallel with filters for Infrahub Client Sync.
2+ Avoid sending empty list of schemas to infrahub if no valids schemas are found.
Original file line number Diff line number Diff line change @@ -187,6 +187,9 @@ def load_yamlfile_from_disk_and_exit(
187187 has_error = False
188188 try :
189189 data_files = file_type .load_from_disk (paths = paths )
190+ if not data_files :
191+ console .print ("[red]No valid files found to load." )
192+ raise typer .Exit (1 )
190193 except FileNotValidError as exc :
191194 console .print (f"[red]{ exc .message } " )
192195 raise typer .Exit (1 ) from exc
You can’t perform that action at this time.
0 commit comments