aboutsummaryrefslogtreecommitdiff
path: root/libpod/image_inspect.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/image_inspect.go')
-rw-r--r--libpod/image_inspect.go30
1 files changed, 15 insertions, 15 deletions
diff --git a/libpod/image_inspect.go b/libpod/image_inspect.go
index cc4b8307a..df2d3640e 100644
--- a/libpod/image_inspect.go
+++ b/libpod/image_inspect.go
@@ -42,21 +42,21 @@ func getImageData(img storage.Image, imgRef types.Image, size int64, driver *ins
}
data := &inspect.ImageData{
- ID: img.ID,
- RepoTags: img.Names,
- RepoDigests: repoDigests,
- Comment: ociv1Img.History[0].Comment,
- Created: ociv1Img.Created,
- Author: ociv1Img.Author,
- Architecture: ociv1Img.Architecture,
- Os: ociv1Img.OS,
- Config: &ociv1Img.Config,
- Version: info.DockerVersion,
- Size: size,
- VirtualSize: size + imgSize,
- Annotations: annotations,
- Digest: imgDigest,
- Labels: info.Labels,
+ ID: img.ID,
+ RepoTags: img.Names,
+ RepoDigests: repoDigests,
+ Comment: ociv1Img.History[0].Comment,
+ Created: ociv1Img.Created,
+ Author: ociv1Img.Author,
+ Architecture: ociv1Img.Architecture,
+ Os: ociv1Img.OS,
+ ContainerConfig: &ociv1Img.Config,
+ Version: info.DockerVersion,
+ Size: size,
+ VirtualSize: size + imgSize,
+ Annotations: annotations,
+ Digest: imgDigest,
+ Labels: info.Labels,
RootFS: &inspect.RootFS{
Type: ociv1Img.RootFS.Type,
Layers: ociv1Img.RootFS.DiffIDs,