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 template rendering bug #316

Merged
merged 1 commit into from
Sep 10, 2020
Merged

Conversation

williepaul
Copy link
Contributor

  • templates were only being rendered once per file, rather than once per rule
  • thus, the first render for each file would win, and violations could trigger (or be missed) if using a shared template

- templates were only being rendered once per file, rather than once per rule
- thus, the first render for each file would win, and violations could trigger (or be missed) if using a shared template
@sonarcloud
Copy link

sonarcloud bot commented Sep 10, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Sep 10, 2020

Codecov Report

Merging #316 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #316   +/-   ##
=======================================
  Coverage   59.36%   59.36%           
=======================================
  Files          48       48           
  Lines         982      982           
=======================================
  Hits          583      583           
  Misses        350      350           
  Partials       49       49           
Impacted Files Coverage Δ
pkg/policy/opa/engine.go 41.93% <100.00%> (ø)

@cesar-rodriguez cesar-rodriguez merged commit 6eb0a6b into master Sep 10, 2020
@cesar-rodriguez cesar-rodriguez deleted the bugfix/template-rendering-issue branch September 10, 2020 21:07
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.

None yet

2 participants