mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Do not eat error messages from pullImage
Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #668 Approved by: rhatdan
This commit is contained in:
@ -140,7 +140,7 @@ func (ir *Runtime) New(ctx context.Context, name, signaturePolicyPath, authfile
|
||||
}
|
||||
imageName, err := newImage.pullImage(ctx, writer, authfile, signaturePolicyPath, signingoptions, dockeroptions, forceSecure)
|
||||
if err != nil {
|
||||
return nil, errors.Errorf("unable to pull %s", name)
|
||||
return nil, errors.Wrapf(err, "unable to pull %s", name)
|
||||
}
|
||||
|
||||
newImage.InputName = imageName
|
||||
|
Reference in New Issue
Block a user