diff options
Diffstat (limited to 'libpod/image/image.go')
-rw-r--r-- | libpod/image/image.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go index c8583a1c5..c0baf2e00 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -781,6 +781,7 @@ type History struct { CreatedBy string `json:"createdBy"` Size int64 `json:"size"` Comment string `json:"comment"` + Tags []string `json:"tags"` } // History gets the history of an image and the IDs of images that are part of @@ -847,6 +848,7 @@ func (i *Image) History(ctx context.Context) ([]*History, error) { CreatedBy: oci.History[x].CreatedBy, Size: size, Comment: oci.History[x].Comment, + Tags: layer.Names, }) if layer != nil && layer.Parent != "" && !oci.History[x].EmptyLayer { |