Skip to content

Commit

Permalink
Fix Jinja rendering issue in LLD filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosabalde committed Jul 7, 2021
1 parent c2224cc commit 0e8183b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
- ? (2?):
- Fix Jinja rendering issue in LLD filtering.

- 8.0 (2021-07-07):
- Defined lower values for {$VARNISH_CACHE.LLD_KEEP_LOST_RESOURCES_PERIOD:accountings} and {$VARNISH_CACHE.LLD_UPDATE_INTERVAL:accountings}.
- Added {$VARNISH_CACHE.LLD_EXCLUDED_SUBJECTS} for filtering LLD items based on {#SUBJECT} (e.g. '^(?!std[.])').
Expand Down
4 changes: 2 additions & 2 deletions template-app-varnish-cache.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
<conditions>
<condition>
<formulaid>A</formulaid>
<macro>{{ '{#SUBJECT}' }}</macro>
<macro>{{ '{#' }}SUBJECT}</macro>
<operator>NOT_MATCHES_REGEX</operator>
<value>{{ '{$VARNISH_CACHE.LLD_EXCLUDED_SUBJECTS:&quot;{{ rule.context }}&quot;}' }}</value>
<value>{$VARNISH_CACHE.LLD_EXCLUDED_SUBJECTS:&quot;{{ rule.context }}&quot;}</value>
</condition>
</conditions>
</filter>
Expand Down

0 comments on commit 0e8183b

Please sign in to comment.