You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
torin:~$ docker run -it --rm openpolicyagent/opa:0.4.0
OPA 0.4.0 (commit 4ea2b27, built at 2017-01-25T18:34:56Z)
Run 'help' to see a list of commands.
> input = 1
error: 1:1: missing input document
The problem is that the statement (input = 1) is compiled as a query before checking if it's parse-able as a rule. The compile step fails and so an error is printed.
The text was updated successfully, but these errors were encountered:
Example:
The problem is that the statement (
input = 1
) is compiled as a query before checking if it's parse-able as a rule. The compile step fails and so an error is printed.The text was updated successfully, but these errors were encountered: