diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2017-12-11 13:12:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-11 13:12:43 -0500 |
commit | b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5 (patch) | |
tree | 2ad27b4463658539257233963ae6a9c7dc38c168 /cmd/kpod/pull.go | |
parent | 12682aa475db17d99eb0cfc5efad20e1b9f3685f (diff) | |
parent | 622d5e3b9a09a41f4367d8e038621e3fcbf5c7c7 (diff) | |
download | podman-b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5.tar.gz podman-b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5.tar.bz2 podman-b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5.zip |
Merge pull request #112 from umohnani8/kpod_load
Fix misleading print statement in kpod load
Diffstat (limited to 'cmd/kpod/pull.go')
-rw-r--r-- | cmd/kpod/pull.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/kpod/pull.go b/cmd/kpod/pull.go index 399e8c1b4..5726b20f1 100644 --- a/cmd/kpod/pull.go +++ b/cmd/kpod/pull.go @@ -113,6 +113,8 @@ func pullCmd(c *cli.Context) error { Writer: writer, } - return runtime.PullImage(image, options) - + if _, err := runtime.PullImage(image, options); err != nil { + return errors.Wrapf(err, "error pulling image %q", image) + } + return nil } |