Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(templates): fix regression with multiple if statements introduced in 0.13.46 #6714

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

stefreak
Copy link
Member

@stefreak stefreak commented Dec 12, 2024

What this PR does / why we need it:
In buildConditionalTree, we did not properly reset state and thus we
got a wrong AST if multiple if statements existed in the same nesting
level.

Which issue(s) this PR fixes:

Fixes #6711

Special notes for your reviewer:

0.13.45

In `buildConditionalTree`, we did not properly reset state and thus we
got a wrong AST if multiple if statements existed in the same nesting
level.
Copy link
Collaborator

@vvagaytsev vvagaytsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 🚀
Thanks for the quick fix! 👍

@stefreak stefreak added this pull request to the merge queue Dec 12, 2024
Merged via the queue into main with commit 7fbe717 Dec 12, 2024
40 checks passed
@stefreak stefreak deleted the fix-multiple-if branch December 12, 2024 16:51
@stefreak stefreak changed the title fix(templates): fix regression with multiple if statements introduced in 0.13.45 fix(templates): fix regression with multiple if statements introduced in 0.13.46 Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Templating logic change in garden 0.13.46 breaks deploys
2 participants