diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-10-09 15:38:45 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-10-09 20:20:19 -0400 |
commit | 77033c4aed90b15a567d12036ec636c53e2c8e15 (patch) | |
tree | 0cc4e4aa47edde51687a549dd71c97e36fd2230b /libpod/container_inspect.go | |
parent | cec240375d6dceb09c705d6d55e67aeff037327f (diff) | |
download | podman-77033c4aed90b15a567d12036ec636c53e2c8e15.tar.gz podman-77033c4aed90b15a567d12036ec636c53e2c8e15.tar.bz2 podman-77033c4aed90b15a567d12036ec636c53e2c8e15.zip |
Include CNI networks in inspect output when not running
We were only including the CNI Network fields in the output of
`podman inspect` when the container was not running. It's simple
enough to fix (populate with empty structs, since we can't fill
anything without a CNI response to get IP address assigned, etc).
This is necessary for Docker compatibility.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/container_inspect.go')
0 files changed, 0 insertions, 0 deletions