-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Integration doc has two compile errors in example Go code #2367
Labels
Comments
Can I take this up? |
@sresthas I've assigned the issue to you, let us know if you need any guidance. |
Can I take this issue up? I have figured out the corrections needed to be made to resolve this issue. |
@sresthas were you still working on this one? |
gaga5lala
added a commit
to gaga5lala/opa
that referenced
this issue
Jun 23, 2020
1. module should be policy string above 2. pass context instance for .Eval also add decision output in the example Fixes open-policy-agent#2367 Signed-off-by: Gaga Pan <gaga5lala1013@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Go integration section in https://github.com/open-policy-agent/opa/blob/master/docs/content/integration.md contains two errors in the example code:
module
is not defined anywhere.module
should be defined as a string variable that contains the example policy from earlier in the page.context.Context
should just be `ctx.The text was updated successfully, but these errors were encountered: