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

Fix multiple filter options logic for podman volume ls #19269

Merged

Conversation

jakecorrenti
Copy link
Member

Fixes a bug where podman volume ls with multiple label filters would return volumes that matched any of the filters, not all of them.

Fixes: #19219

Does this PR introduce a user-facing change?

Fixes a bug where `podman volume ls` with multiple `label` filters would return volumes that matched any of the filters, not all of them

@jakecorrenti jakecorrenti force-pushed the volume-ls-mult-filters branch from f24cb3b to 12dad01 Compare July 18, 2023 00:04
@github-actions github-actions bot added the kind/api-change Change to remote API; merits scrutiny label Jul 18, 2023
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

LGTM

@jakecorrenti jakecorrenti force-pushed the volume-ls-mult-filters branch from 12dad01 to de0dfb8 Compare July 18, 2023 12:55
@jakecorrenti
Copy link
Member Author

Either CI is broken or this needs a restart

@Luap99
Copy link
Member

Luap99 commented Jul 18, 2023

Looks like common infra flakes, you can restart them then it should pass.

Fixes a bug where `podman volume ls` with multiple `label` filters would
return volumes that matched *any* of the filters, not *all* of them.

Adapts generating volume filter functions to be more in
line with how it is done for containers and pods.

Fixes: containers#19219

Signed-off-by: Jake Correnti <[email protected]>
@jakecorrenti jakecorrenti force-pushed the volume-ls-mult-filters branch from de0dfb8 to 9624115 Compare July 18, 2023 13:55
@TomSweeneyRedHat
Copy link
Member

LGTM

@TomSweeneyRedHat
Copy link
Member

/lgtm
/hold #for test completion

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 18, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 18, 2023
@jakecorrenti
Copy link
Member Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 18, 2023
@jakecorrenti
Copy link
Member Author

@TomSweeneyRedHat any chance you could push this over the finish line?

@Luap99
Copy link
Member

Luap99 commented Jul 18, 2023

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 18, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jakecorrenti, Luap99

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 Jul 18, 2023
@openshift-merge-robot openshift-merge-robot merged commit f8eaec6 into containers:main Jul 18, 2023
@ashley-cui ashley-cui added the 4.6 label Jul 20, 2023
@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 Oct 19, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 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. kind/api-change Change to remote API; merits scrutiny 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. release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple filter options do not act as logical AND for volume ls
5 participants