Skip to content

Commit

Permalink
fix wrong return value
Browse files Browse the repository at this point in the history
  • Loading branch information
peters-david committed Jan 22, 2025
1 parent 97aee67 commit 71756f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ async def fill_template(client, path: str, logger) -> str:
# are created for keys with dots.
replacement_last_part = str(replacement_value)
replacement_keys = placeholder.split('.')
replacement = replacement_keys.append(replacement_last_part)
insert_into_dict(replacements, replacement)
replacement_keys.append(replacement_last_part)
insert_into_dict(replacements, replacement_keys)
config = chevron.render(config, replacements)
return config

Expand Down

0 comments on commit 71756f4

Please sign in to comment.