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 --- libpod/image/image.go | 1 + 1 file changed, 1 insertion(+) (limited to 'libpod/image') diff --git a/libpod/image/image.go b/libpod/image/image.go index c8583a1c5..108e0c5b9 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -1007,6 +1007,7 @@ func (i *Image) Inspect(ctx context.Context) (*inspect.ImageData, error) { ManifestType: manifestType, User: ociv1Img.Config.User, History: ociv1Img.History, + NamesHistory: i.NamesHistory(), } return data, nil } -- cgit v1.2.3-54-g00ecf