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

Property name typo in Expr filter documentation #2231

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

phoellig
Copy link
Contributor

@phoellig phoellig commented Oct 3, 2022

In other examples on this page and all of the examples in examples/sensors the top level property of the Expr filter is exprs, not expr. This is the list of the filters, not the one with the details (that's correctly expr).

The actual definition showing exprs appears to be here:

repeated ExprFilter exprs = 4;

Here's some use in the examples showing exprs as opposed to expr.

exprs: # expr filter result: EVENT PASS

Checklist:

In other examples on this page and all of the examples in examples/sensors the top level property of the Expr filter is `exprs`, not `expr`. This is the list of the filters, not the one with the details (that's correctly `expr`).

The actual definition showing `exprs` appears to be here: https://github.com/argoproj/argo-events/blob/a9b5dd79c7341be999a526aacb77c87f7f7b3c08/pkg/apis/sensor/v1alpha1/generated.proto#L277

Here's some use in the examples showing `exprs` as opposed to `expr`. https://github.com/argoproj/argo-events/blob/b963de5607466a94bdc631d4f470d92913882178/examples/sensors/filter-with-multiple-filters.yaml#L25

Signed-off-by: Peter Hoellig <phoellig@gmail.com>
Copy link
Member

@whynowy whynowy left a comment

Choose a reason for hiding this comment

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

Thanks for fixing it!

@whynowy whynowy merged commit 80a4b8e into argoproj:master Oct 3, 2022
@phoellig phoellig deleted the patch-1 branch October 3, 2022 20:13
whynowy pushed a commit that referenced this pull request Dec 12, 2022
Signed-off-by: Peter Hoellig <phoellig@gmail.com>
bilalba pushed a commit to intuit-data-os/argo-events that referenced this pull request Jan 9, 2023
Signed-off-by: Peter Hoellig <phoellig@gmail.com>
Signed-off-by: Bilal Bakht Ahmad <tringingly@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants