summaryrefslogtreecommitdiff
path: root/pkg/varlinkapi
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-27 15:31:22 +0100
committerGitHub <noreply@github.com>2019-11-27 15:31:22 +0100
commit2178875fa7975f00a4da15fef9809cd3fb74feba (patch)
tree10f039a78dec47c3b809c7a964b61fd6ee95af46 /pkg/varlinkapi
parent27a09f8fab740749964d28b5ead1a43c6d77a7c8 (diff)
parent63e46cc85cb0a9523e9c48db7a88039e0baeac29 (diff)
downloadpodman-2178875fa7975f00a4da15fef9809cd3fb74feba.tar.gz
podman-2178875fa7975f00a4da15fef9809cd3fb74feba.tar.bz2
podman-2178875fa7975f00a4da15fef9809cd3fb74feba.zip
Merge pull request #4568 from openSUSE/history
Add support for image name history
Diffstat (limited to 'pkg/varlinkapi')
-rw-r--r--pkg/varlinkapi/images.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/varlinkapi/images.go b/pkg/varlinkapi/images.go
index c27088805..7abffa42a 100644
--- a/pkg/varlinkapi/images.go
+++ b/pkg/varlinkapi/images.go
@@ -70,6 +70,7 @@ func (i *LibpodAPI) ListImages(call iopodman.VarlinkCall) error {
Labels: labels,
IsParent: isParent,
ReadOnly: image.IsReadOnly(),
+ History: image.NamesHistory(),
}
imageList = append(imageList, i)
}
@@ -111,6 +112,7 @@ func (i *LibpodAPI) GetImage(call iopodman.VarlinkCall, id string) error {
Labels: labels,
TopLayer: newImage.TopLayer(),
ReadOnly: newImage.IsReadOnly(),
+ History: newImage.NamesHistory(),
}
return call.ReplyGetImage(il)
}