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

events: support disjunctive filters #10514

Merged
merged 1 commit into from
Jun 2, 2021

Conversation

vrothberg
Copy link
Member

While different filters are applied in conjunction, the same filter (but
with different values) should be applied in disjunction. This allows,
for instance, to query the events of two containers.

Fixes: #10507
Signed-off-by: Valentin Rothberg [email protected]

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 1, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vrothberg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 1, 2021
@vrothberg
Copy link
Member Author

Would love to have it in v3.2.

@vrothberg
Copy link
Member Author

@containers/podman-maintainers PTAL

@vrothberg vrothberg force-pushed the fix-10507 branch 2 times, most recently from 99dc7ea to 7aecfa3 Compare June 1, 2021 11:13
@mheon
Copy link
Member

mheon commented Jun 1, 2021

Little late for 3.2, unfortunately

@vrothberg
Copy link
Member Author

@edsantiago @rhatdan PTAL

While different filters are applied in conjunction, the same filter (but
with different values) should be applied in disjunction.  This allows,
for instance, to query the events of two containers.

Fixes: containers#10507
Signed-off-by: Valentin Rothberg <[email protected]>
@vrothberg
Copy link
Member Author

Ready

@edsantiago
Copy link
Member

tests LGTM. I should've griped about the use of fixed non-random strings, but that's not worth a re-push.

@rhatdan
Copy link
Member

rhatdan commented Jun 2, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 2, 2021
@openshift-merge-robot openshift-merge-robot merged commit 52dae69 into containers:master Jun 2, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The events API is not Docker-compatible when using the same filter multiple times
5 participants