Skip to content

Commit

Permalink
backport of commit c96c1ef (#26365)
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Wilson <[email protected]>
  • Loading branch information
1 parent 93d5e49 commit 3e462b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audit/entry_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func NewEntryFilter(filter string) (*EntryFilter, error) {
li := logical.LogInputBexpr{}
_, err = eval.Evaluate(li)
if err != nil {
return nil, fmt.Errorf("filter references an unsupported field: %s: %w: %w", filter, ErrExternalOptions, err)
return nil, fmt.Errorf("filter references an unsupported field: %s: %w", filter, ErrExternalOptions)
}

return &EntryFilter{evaluator: eval}, nil
Expand Down

0 comments on commit 3e462b3

Please sign in to comment.