Skip to content

Commit

Permalink
Merge pull request #316 from accurics/bugfix/template-rendering-issue
Browse files Browse the repository at this point in the history
fix template rendering bug
  • Loading branch information
Cesar Rodriguez authored Sep 10, 2020
2 parents 97b7612 + 5b3ae20 commit 6eb0a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/policy/opa/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func (e *Engine) LoadRegoFiles(policyPath string) error {
}

regoDataList[j].RawRego = templateData.Bytes()
e.regoDataMap[regoDataList[j].Metadata.Name] = regoDataList[j]
e.regoDataMap[regoDataList[j].Metadata.ReferenceID] = regoDataList[j]
}
}

Expand Down

0 comments on commit 6eb0a6b

Please sign in to comment.