Use AND to combine different volume filter keys#28413
Use AND to combine different volume filter keys#28413simonbrauner wants to merge 1 commit intocontainers:mainfrom
Conversation
0450a9a to
be1b236
Compare
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
|
OR is currently used, and by changing it to AND would make it consistent with Docker. |
1fc2319 to
9efd4d8
Compare
|
Cockpit tests failed for commit 9efd4d8. @martinpitt, @jelly, @mvollmer please check. |
f5f69e7 to
9e080c1
Compare
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
80ec8e2 to
afbea92
Compare
|
Frankly this is making me regret ever merging |
54712bf to
f8b2d28
Compare
f8b2d28 to
3c3613f
Compare
|
How does it behave with containers, images? Whatever we end up it must be consistent for all filtering. |
Fixes: containers#26786 Signed-off-by: Šimon Brauner <sbrauner@redhat.com>
3c3613f to
98abcdc
Compare
AND is also used for filters of different keys when filtering images, containers, and pods. |
|
PTAL @containers/podman-maintainers |
| Filter what volumes are shown in the output. | ||
| Multiple filters can be given with multiple uses of the --filter flag. | ||
|
|
||
| The *filters* argument format is of `key=value`. If there is more than one *filter*, then pass multiple OPTIONS: **--filter** *foo=bar* **--filter** *bif=baz*. |
There was a problem hiding this comment.
"If there is more than one filter, the --filter option should be passed multiple times: --filter name=test --filter driver=local`*"
Fixes: #26786
Checklist
Ensure you have completed the following checklist for your pull request to be reviewed:
commits. (
git commit -s). (If needed, usegit commit -s --amend). The author email must matchthe sign-off email address. See CONTRIBUTING.md
for more information.
Fixes: #00000in commit message (if applicable)make validatepr(format/lint checks)Noneif no user-facing changes)Does this PR introduce a user-facing change?