Skip to content

Commit

Permalink
rego: use correct PartialResult in test
Browse files Browse the repository at this point in the history
Fixes #2294

Signed-off-by: Gaga Pan <gaga5lala1013@gmail.com>
  • Loading branch information
gaga5lala authored and patrick-east committed Jul 1, 2020
1 parent d230203 commit fa5e302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rego/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ func ExampleRego_PartialResult() {
rego.Store(store),
)

pr, err := r.PartialEval(ctx)
pr, err := r.PartialResult(ctx)
if err != nil {
// Handle error.
}
Expand Down

0 comments on commit fa5e302

Please sign in to comment.