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

refactor: use thiserror for internal errors of Rego module #388

Merged
merged 5 commits into from
Nov 23, 2023

Conversation

viccuad
Copy link
Member

@viccuad viccuad commented Nov 23, 2023

Description

Relates to #377

Test

CI

Additional Information

This is one of the first PRs on this topic, deferring on changing the public policy-evaluator API until the refactor from kubewarden/kubewarden-controller#528 is done.

Tradeoff

Potential improvement

@viccuad viccuad requested a review from a team as a code owner November 23, 2023 09:15
@viccuad viccuad self-assigned this Nov 23, 2023
Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM, I left some minor comments

src/runtimes/rego/context_aware.rs Outdated Show resolved Hide resolved
src/runtimes/rego/gatekeeper_inventory.rs Outdated Show resolved Hide resolved
src/runtimes/rego/mod.rs Show resolved Hide resolved
src/runtimes/rego/opa_inventory.rs Outdated Show resolved Hide resolved
@fabriziosestito fabriziosestito merged commit 7d8d0e9 into kubewarden:main Nov 23, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants