-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
From https://github.com/NathanWilliams I am adopting this stale PR: #938 --- Fix for: #937 This resets the Jinja2 templating_vars in config/reader.py to prevent variables leaking across StackGroups. Without this patch applied, the test case added would fail and show param1 from stack_group_config1 has leaked into stack_group2: ``` E Full diff: E { E 'j2_environment': {}, E - 'param1': 'value1', E 'param2': 'value2', E 'var': 'initial_value', E } ``` Nathan's fix is shown to prevent this unintended behaviour.
- Loading branch information
1 parent
0adec0b
commit 20801f8
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters