diff options
Diffstat (limited to 'libpod/image/image.go')
-rw-r--r-- | libpod/image/image.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go index 22268ac45..5413c4e6b 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -143,6 +143,9 @@ func (ir *Runtime) New(name, signaturePolicyPath, authfile string, writer io.Wri newImage.InputName = imageName img, err := newImage.getLocalImage() + if err != nil { + return nil, errors.Wrapf(err, "error retrieving local image after pulling %s", name) + } newImage.image = img return &newImage, nil } |