diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-01 20:30:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-01 20:30:53 +0200 |
commit | e1a099ed448312eb573c680561496f084aa71814 (patch) | |
tree | f2716f40558e9353c9bf5c39f6cf207fe0d25bd7 | |
parent | afb493ae9b1cc98db1f6d9a211b561bb245692de (diff) | |
parent | ea02c11cc1d0c4db50395c35ed735eceacf670b8 (diff) | |
download | podman-e1a099ed448312eb573c680561496f084aa71814.tar.gz podman-e1a099ed448312eb573c680561496f084aa71814.tar.bz2 podman-e1a099ed448312eb573c680561496f084aa71814.zip |
Merge pull request #3688 from mheon/print_pod
Print Pod ID in `podman inspect` output
-rw-r--r-- | libpod/container_inspect.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go index aee8c4657..1b6dd829c 100644 --- a/libpod/container_inspect.go +++ b/libpod/container_inspect.go @@ -99,6 +99,7 @@ type InspectContainerData struct { ImageID string `json:"Image"` ImageName string `json:"ImageName"` Rootfs string `json:"Rootfs"` + Pod string `json:"Pod"` ResolvConfPath string `json:"ResolvConfPath"` HostnamePath string `json:"HostnamePath"` HostsPath string `json:"HostsPath"` @@ -717,6 +718,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *driver.Data) ExitCommand: config.ExitCommand, Namespace: config.Namespace, Rootfs: config.Rootfs, + Pod: config.Pod, ResolvConfPath: resolvPath, HostnamePath: hostnamePath, HostsPath: hostsPath, |