Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
podman pod info: handle return being list in Podman 5
Fixes #712 Podman 5 changed the output of `podman pod info` (when run on a single pod) from being a dict to being a list of dicts: containers/podman#21514 this should handle both ways. Unfortunately not sure how to add a test for this as I can't see a unit test that mocks the output of the command, only the integration test that gets real live output, and I'm not sure how to get that test run with Podman 5. Signed-off-by: Adam Williamson <[email protected]>
- Loading branch information