summaryrefslogtreecommitdiff
path: root/pkg/inspect
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@suse.com>2019-12-13 12:51:40 +0100
committerSascha Grunert <sgrunert@suse.com>2019-12-13 13:53:30 +0100
commit1cdaf45d053caccd3aeebfe2d23df3aa6f2097c5 (patch)
tree44d2bd743ee2b19fe470e6951fbbbc9b66a4c213 /pkg/inspect
parent71a0c0f69c992a1840a28201526b211f9055b1b6 (diff)
downloadpodman-1cdaf45d053caccd3aeebfe2d23df3aa6f2097c5.tar.gz
podman-1cdaf45d053caccd3aeebfe2d23df3aa6f2097c5.tar.bz2
podman-1cdaf45d053caccd3aeebfe2d23df3aa6f2097c5.zip
Add history names to image inspect data
During writing the tests I found it would be probably useful to have the tag history part of the inspect data. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'pkg/inspect')
-rw-r--r--pkg/inspect/inspect.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/inspect/inspect.go b/pkg/inspect/inspect.go
index ec3d98613..8249dc4aa 100644
--- a/pkg/inspect/inspect.go
+++ b/pkg/inspect/inspect.go
@@ -31,6 +31,7 @@ type ImageData struct {
ManifestType string `json:"ManifestType"`
User string `json:"User"`
History []v1.History `json:"History"`
+ NamesHistory []string `json:"NamesHistory"`
}
// RootFS holds the root fs information of an image