diff options
author | Sascha Grunert <sgrunert@suse.com> | 2019-12-13 12:51:40 +0100 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2019-12-13 13:53:30 +0100 |
commit | 1cdaf45d053caccd3aeebfe2d23df3aa6f2097c5 (patch) | |
tree | 44d2bd743ee2b19fe470e6951fbbbc9b66a4c213 /libpod/image | |
parent | 71a0c0f69c992a1840a28201526b211f9055b1b6 (diff) | |
download | podman-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 'libpod/image')
-rw-r--r-- | libpod/image/image.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |