Skip to content

Commit

Permalink
Merge pull request #235 from kysrpex/bug_merge_vars_files
Browse files Browse the repository at this point in the history
Fix bug merging vars files in synchronize.py
  • Loading branch information
kysrpex authored Nov 8, 2023
2 parents 0b05050 + fe5c1fd commit 6249ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synchronize.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ def template_userdata(
}
vars_from_files = (
reduce(
lambda x, y: x.update(y),
lambda x, y: x | y,
(yaml.safe_load(open(file, "r")) for file in vars_files),
)
if vars_files
Expand Down

0 comments on commit 6249ba2

Please sign in to comment.