summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-10 07:00:39 -0800
committerGitHub <noreply@github.com>2018-12-10 07:00:39 -0800
commitb6763143be70472e6e28883beed180e772661e9e (patch)
tree5cd2053dc5eb3df72d2430e2cb4dd6c98a26e73e /pkg
parent1f547b2936af06656eaf579c3adaf8f345d227fc (diff)
parent078fd071c1ce9aa4063a0d640d15feafcabc5089 (diff)
downloadpodman-b6763143be70472e6e28883beed180e772661e9e.tar.gz
podman-b6763143be70472e6e28883beed180e772661e9e.tar.bz2
podman-b6763143be70472e6e28883beed180e772661e9e.zip
Merge pull request #1958 from baude/morevarlinkdocs
add more example usage to varlink endpoints
Diffstat (limited to 'pkg')
-rw-r--r--pkg/varlinkapi/images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/varlinkapi/images.go b/pkg/varlinkapi/images.go
index cb3b1c73b..a5673f636 100644
--- a/pkg/varlinkapi/images.go
+++ b/pkg/varlinkapi/images.go
@@ -508,7 +508,7 @@ func (i *LibpodAPI) PullImage(call iopodman.VarlinkCall, name string) error {
// ImageExists returns bool as to whether the input image exists in local storage
func (i *LibpodAPI) ImageExists(call iopodman.VarlinkCall, name string) error {
_, err := i.Runtime.ImageRuntime().NewFromLocal(name)
- if errors.Cause(err) == libpod.ErrNoSuchImage {
+ if errors.Cause(err) == image.ErrNoSuchImage {
return call.ReplyImageExists(1)
}
if err != nil {