From 1cdaf45d053caccd3aeebfe2d23df3aa6f2097c5 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Fri, 13 Dec 2019 12:51:40 +0100 Subject: 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 --- pkg/inspect/inspect.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/inspect/inspect.go') 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 -- cgit v1.2.3-54-g00ecf