Skip to content

Do I need to call store.Abort when calling store.Commit returns an error? #437

Discussion options

You must be logged in to vote

Hey, I don't believe so. You should just need to handle the error of the commit.

See the interface here for a few comments on each function: https://pkg.go.dev/github.com/open-policy-agent/opa/storage#Store

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Zacama
Comment options

Answer selected by Zacama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants