diff options
author | baude <bbaude@redhat.com> | 2018-12-07 13:35:46 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-12-09 11:16:33 -0600 |
commit | 078fd071c1ce9aa4063a0d640d15feafcabc5089 (patch) | |
tree | 4d35d2b8f4bd4e5f377bd35bfa2822ed49890f1c /pkg | |
parent | d6ce797edb415c1a0c23e8d72ed2771586b8c219 (diff) | |
download | podman-078fd071c1ce9aa4063a0d640d15feafcabc5089.tar.gz podman-078fd071c1ce9aa4063a0d640d15feafcabc5089.tar.bz2 podman-078fd071c1ce9aa4063a0d640d15feafcabc5089.zip |
add more example usage to varlink endpoints
Signed-off-by: baude <bbaude@redhat.com>
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 { |