summaryrefslogtreecommitdiff
path: root/pkg/inspect
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-02-11 06:05:29 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-11 11:50:34 +0000
commit2e96acf3007cbd05a37a8af7156f0abda073cb5a (patch)
treeeab653d95e0d9fe3deb44f12140782c84059eaa2 /pkg/inspect
parentd26266659d8649b36b91e8f8f78f8073007554ac (diff)
downloadpodman-2e96acf3007cbd05a37a8af7156f0abda073cb5a.tar.gz
podman-2e96acf3007cbd05a37a8af7156f0abda073cb5a.tar.bz2
podman-2e96acf3007cbd05a37a8af7156f0abda073cb5a.zip
Change json to match docker inspect
Changing these fields caused the output of podman inspect to more closely match docker inspect. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #306 Approved by: mheon
Diffstat (limited to 'pkg/inspect')
-rw-r--r--pkg/inspect/inspect.go36
1 files changed, 18 insertions, 18 deletions
diff --git a/pkg/inspect/inspect.go b/pkg/inspect/inspect.go
index 11a252535..e523d4c4d 100644
--- a/pkg/inspect/inspect.go
+++ b/pkg/inspect/inspect.go
@@ -106,24 +106,24 @@ type LogConfig struct {
// ImageData holds the inspect information of an image
type ImageData struct {
- ID string `json:"ID"`
- Digest digest.Digest `json:"Digest"`
- RepoTags []string `json:"RepoTags"`
- RepoDigests []string `json:"RepoDigests"`
- Parent string `json:"Parent"`
- Comment string `json:"Comment"`
- Created *time.Time `json:"Created"`
- Config *v1.ImageConfig `json:"Config"`
- Version string `json:"Version"`
- Author string `json:"Author"`
- Architecture string `json:"Architecture"`
- Os string `json:"Os"`
- Size int64 `json:"Size"`
- VirtualSize int64 `json:"VirtualSize"`
- GraphDriver *Data `json:"GraphDriver"`
- RootFS *RootFS `json:"RootFS"`
- Labels map[string]string `json:"Labels"`
- Annotations map[string]string `json:"Annotations"`
+ ID string `json:"Id"`
+ Digest digest.Digest `json:"Digest"`
+ RepoTags []string `json:"RepoTags"`
+ RepoDigests []string `json:"RepoDigests"`
+ Parent string `json:"Parent"`
+ Comment string `json:"Comment"`
+ Created *time.Time `json:"Created"`
+ ContainerConfig *v1.ImageConfig `json:"ContainerConfig"`
+ Version string `json:"Version"`
+ Author string `json:"Author"`
+ Architecture string `json:"Architecture"`
+ Os string `json:"Os"`
+ Size int64 `json:"Size"`
+ VirtualSize int64 `json:"VirtualSize"`
+ GraphDriver *Data `json:"GraphDriver"`
+ RootFS *RootFS `json:"RootFS"`
+ Labels map[string]string `json:"Labels"`
+ Annotations map[string]string `json:"Annotations"`
}
// RootFS holds the root fs information of an image