Skip to content

[fix] filter images panic#3469

Merged
AkihiroSuda merged 1 commit intocontainerd:mainfrom
xyz-li:main
Sep 28, 2024
Merged

[fix] filter images panic#3469
AkihiroSuda merged 1 commit intocontainerd:mainfrom
xyz-li:main

Conversation

@xyz-li
Copy link
Copy Markdown
Contributor

@xyz-li xyz-li commented Sep 26, 2024

nerdctl images --filter before=not-exist-image will panic.

Fix: #3467

Copy link
Copy Markdown
Member

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

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

This looks good to me. Would you mind adding a test case to TestImagesFilter to validate providing before and since filter for an image that does not exist?

@apostasie
Copy link
Copy Markdown
Contributor

CI failures notes:

@apostasie
Copy link
Copy Markdown
Contributor

Tagging @djdongjin @AkihiroSuda for maintainers review.

Signed-off-by: xyz-li <hui0787411@163.com>
Copy link
Copy Markdown
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

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.

nerdctl images filter panic

4 participants