diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-10-15 15:47:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-15 15:47:50 +0200 |
commit | 5f72e6ef2ef7b6941cefc3c655903aeacb53e115 (patch) | |
tree | e5b8f880e54664fe73c5e503b71a75396c526276 /libpod | |
parent | e5de079714a72746c8bdc67bb9fc2f522edfefe1 (diff) | |
parent | 019f19cf4fbc0e17cb46bb6c992147cd9eebb287 (diff) | |
download | podman-5f72e6ef2ef7b6941cefc3c655903aeacb53e115.tar.gz podman-5f72e6ef2ef7b6941cefc3c655903aeacb53e115.tar.bz2 podman-5f72e6ef2ef7b6941cefc3c655903aeacb53e115.zip |
Merge pull request #4195 from vrothberg/fix-4193
inspect: rename ImageID go field to Image
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container_inspect.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go index 5a92b3e54..70b51960b 100644 --- a/libpod/container_inspect.go +++ b/libpod/container_inspect.go @@ -96,7 +96,7 @@ type InspectContainerData struct { Path string `json:"Path"` Args []string `json:"Args"` State *InspectContainerState `json:"State"` - ImageID string `json:"Image"` + Image string `json:"Image"` ImageName string `json:"ImageName"` Rootfs string `json:"Rootfs"` Pod string `json:"Pod"` @@ -718,7 +718,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *driver.Data) StartedAt: runtimeInfo.StartedTime, FinishedAt: runtimeInfo.FinishedTime, }, - ImageID: config.RootfsImageID, + Image: config.RootfsImageID, ImageName: config.RootfsImageName, ExitCommand: config.ExitCommand, Namespace: config.Namespace, |