Repository navigation
[freeze] Fix pillar serialization for jinja - #60174
Merged
Merged
Conversation
Ch3LL
previously approved these changes
May 12, 2021
Ch3LL
left a comment
Contributor
There was a problem hiding this comment.
approval pending test fixes
garethgreenaway
previously approved these changes
May 13, 2021
xeacott
previously approved these changes
May 13, 2021
garethgreenaway
dismissed stale reviews from xeacott, Ch3LL, and themself
via
May 13, 2021 01:08
a8bd9ab
dwoz
force-pushed
the
issue/freeze/60083
branch
2 times, most recently
from
May 17, 2021 17:22
c3e80a6 to
015c52c
Compare
Contributor
|
One last test failing here: https://jenkins.saltproject.io/job/pr-debian-9-amd64-py3-pytest/job/PR-60174/6/#showFailuresLink Would you also rebase, because the http test is resolved on the head of the freeze branch. |
Ch3LL
previously approved these changes
May 21, 2021
krionbsd
previously approved these changes
May 21, 2021
Ch3LL
approved these changes
May 21, 2021
twangboy
approved these changes
May 21, 2021
cmcmarrow
approved these changes
May 21, 2021
waynew
approved these changes
May 21, 2021
waynew
left a comment
Contributor
There was a problem hiding this comment.
LGTM - pulled this locally and ran the test both with and without the change, without the fix the test fails with 'NamedLoaderContext is not JSON (probably serializable)'
🚀
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fix pillar serialization for jinja. Pass the value of pillar's NamedContext to the template rather than the named context itself.
What issues does this PR fix or reference?
Fixes: #60083