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 #281 self.rule parameters to jinja2 Template #282

Merged
merged 2 commits into from
Jun 18, 2021

Conversation

mrfroggg
Copy link
Contributor

Also merged self.match to self.rule in self.rule['jinja_root_name'] for consistency.

@jertel
Copy link
Owner

jertel commented Jun 18, 2021

Thanks @mrfroggg. I don't see any tests referencing alert_text_jinja so I'm guessing the original Jinja implementer didn't incude coverage. If that's the case I'll merge it in. At some point we'll need to cover that gap.

@mrfroggg
Copy link
Contributor Author

Yes, didn't find any test case for it yet.

I want to do another PR related to jinja2 (to add jinja2 support to alert_subject), I'll add a test for alert_text_jinja with it

@jertel jertel merged commit a5c0199 into jertel:master Jun 18, 2021
@nsano-rururu
Copy link
Collaborator

@mrfroggg

A new version 3.0.1 of jinja2 is out. Please upgrade and make sure there is no problem.
https://github.com/pallets/jinja/releases

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants