Skip to content

Commit

Permalink
Fix Open Policy Agent filter in standalone use (#2945)
Browse files Browse the repository at this point in the history
Signed-off-by: Magnus Jungsbluth <[email protected]>
  • Loading branch information
mjungsbluth authored Feb 19, 2024
1 parent c70c964 commit 1727ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skipper.go
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ func run(o Options, sig chan os.Signal, idleConnsCH chan struct{}) error {

var opaRegistry *openpolicyagent.OpenPolicyAgentRegistry
if o.EnableOpenPolicyAgent {
opaRegistry := openpolicyagent.NewOpenPolicyAgentRegistry(
opaRegistry = openpolicyagent.NewOpenPolicyAgentRegistry(
openpolicyagent.WithMaxRequestBodyBytes(o.OpenPolicyAgentMaxRequestBodySize),
openpolicyagent.WithMaxMemoryBodyParsing(o.OpenPolicyAgentMaxMemoryBodyParsing),
openpolicyagent.WithCleanInterval(o.OpenPolicyAgentCleanerInterval))
Expand Down

0 comments on commit 1727ab8

Please sign in to comment.