diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-12-18 11:44:19 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2018-12-21 15:59:34 -0500 |
commit | c657dc4fdbca4b331d69e0910261e2cb11e2a629 (patch) | |
tree | fa75b6ecfbaf7c3c85ab7548fe1ac29d1612cf47 /libpod/image/image.go | |
parent | fe186c6ebba95db89463f38c6aa0f0dcc104a249 (diff) | |
download | podman-c657dc4fdbca4b331d69e0910261e2cb11e2a629.tar.gz podman-c657dc4fdbca4b331d69e0910261e2cb11e2a629.tar.bz2 podman-c657dc4fdbca4b331d69e0910261e2cb11e2a629.zip |
Switch all referencs to image.ContainerConfig to image.Config
This will more closely match what Docker is doing.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/image/image.go')
-rw-r--r-- | libpod/image/image.go | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go index 476d28226..3a6d0e305 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -832,21 +832,21 @@ func (i *Image) Inspect(ctx context.Context) (*inspect.ImageData, error) { } data := &inspect.ImageData{ - ID: i.ID(), - RepoTags: i.Names(), - RepoDigests: repoDigests, - Comment: comment, - Created: ociv1Img.Created, - Author: ociv1Img.Author, - Architecture: ociv1Img.Architecture, - Os: ociv1Img.OS, - ContainerConfig: &ociv1Img.Config, - Version: info.DockerVersion, - Size: int64(*size), - VirtualSize: int64(*size), - Annotations: annotations, - Digest: i.Digest(), - Labels: info.Labels, + ID: i.ID(), + RepoTags: i.Names(), + RepoDigests: repoDigests, + Comment: comment, + Created: ociv1Img.Created, + Author: ociv1Img.Author, + Architecture: ociv1Img.Architecture, + Os: ociv1Img.OS, + Config: &ociv1Img.Config, + Version: info.DockerVersion, + Size: int64(*size), + VirtualSize: int64(*size), + Annotations: annotations, + Digest: i.Digest(), + Labels: info.Labels, RootFS: &inspect.RootFS{ Type: ociv1Img.RootFS.Type, Layers: ociv1Img.RootFS.DiffIDs, |