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

opa eval command prints errors twice #1518

Closed
tsandall opened this issue Jun 24, 2019 · 0 comments · Fixed by #1522
Closed

opa eval command prints errors twice #1518

tsandall opened this issue Jun 24, 2019 · 0 comments · Fixed by #1522
Assignees
Labels

Comments

@tsandall
Copy link
Member

For some reason the opa eval subcommand prints errors twice. This seemed to sneak in between v0.10.5 and v0.10.6:

v0.10.6:

$ docker run openpolicyagent/opa:0.10.6 eval '1/0' -f pretty
1/0: eval_internal_error: div: divide by zero
1/0: eval_internal_error: div: divide by zero

v0.10.5:

$ docker run openpolicyagent/opa:0.10.5 eval '1/0' -f pretty
1/0: eval_internal_error: div: divide by zero

This happens regardless of the output format (-f) flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant