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: mounts can be null when using older podman #3806

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

afbjorklund
Copy link
Contributor

What does this PR do?

Older versions of podman has Mounts: null, so the feature of listing containers using a volume does not work.

But it is better to leave that extra information out from the volume list, than to throw an error during find

Screenshot/screencast of this PR

What issues does this PR fix or reference?

Closes #3804

How to test this PR?

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
@afbjorklund afbjorklund requested review from benoitf and a team as code owners September 6, 2023 18:27
@afbjorklund afbjorklund requested review from dgolovin and jeffmaury and removed request for a team September 6, 2023 18:27
Copy link
Collaborator

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

@afbjorklund could you add a test so we're sure it won't happen again ?

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
@benoitf benoitf merged commit 16eba36 into containers:main Sep 7, 2023
8 checks passed
@benoitf
Copy link
Collaborator

benoitf commented Sep 7, 2023

thanks @afbjorklund

@podman-desktop-bot podman-desktop-bot added this to the 1.4.0 milestone Sep 7, 2023
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.

Error reported while listing volumes and looking for containers
3 participants