Skip to content

feat: allow regexp name filters to match docker #4326

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

Merged
merged 2 commits into from
Jun 20, 2025

Conversation

jedevc
Copy link
Contributor

@jedevc jedevc commented Jun 19, 2025

Fixes #4323.

Signed-off-by: Justin Chadwell <me@jedevc.com>
@@ -304,6 +304,42 @@ func TestContainerListWithFilter(t *testing.T) {
return nil
})

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe break down TestContainerListWithFilter into multiple different test functions (this one really feels like a mouthful now).
Alternatively, just bump up cognitive-complexity in golangci.yml.

Tip: call make lint to have the linter run locally if you didn't know that.

@apostasie
Copy link
Contributor

apostasie commented Jun 19, 2025

@jedevc nice!

Windows failure may be just a fluke (hcsshim is not exactly a parangon of stability...) - let see what happens when it re-runs.

Otherwise, LGTM (pending lint fix).

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc marked this pull request as ready for review June 20, 2025 10:44
@apostasie
Copy link
Contributor

CI failure is unrelated (#4237).

@AkihiroSuda @Shubhranshu153 @fahedouch for maintainers review.

@AkihiroSuda AkihiroSuda added this to the v2.1.3 milestone Jun 20, 2025
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 36f9236 into containerd:main Jun 20, 2025
57 of 58 checks passed
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.

Add support for regexp in --filter name=<value>
4 participants