diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-10 07:00:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-10 07:00:39 -0800 |
commit | b6763143be70472e6e28883beed180e772661e9e (patch) | |
tree | 5cd2053dc5eb3df72d2430e2cb4dd6c98a26e73e /pkg | |
parent | 1f547b2936af06656eaf579c3adaf8f345d227fc (diff) | |
parent | 078fd071c1ce9aa4063a0d640d15feafcabc5089 (diff) | |
download | podman-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.go | 2 |
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 { |