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

[v22.2.x] rpk: Fix container panic when using Podman #9152

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #9133

When we have a running cluster we try to inspect
the running containers and use some properties
from the client response (IP, status, etc...).

However, some clients (e.g Podman) might return
an empty container object and that produced a
panic in rpk because we were not properly
handling the objects.

(cherry picked from commit 9abf84e)
@vbotbuildovich vbotbuildovich added this to the v22.2.x-next milestone Feb 27, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Feb 27, 2023
@vbotbuildovich vbotbuildovich requested a review from twmb February 27, 2023 22:56
@r-vasquez r-vasquez marked this pull request as ready for review February 28, 2023 14:22
@r-vasquez r-vasquez merged commit 4a2c568 into redpanda-data:v22.2.x Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants