mirror of
https://github.com/containers/podman.git
synced 2025-06-25 12:20:42 +08:00
pull: promote debug statement to error
print an error if there is any failure pulling an image. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -267,7 +267,7 @@ func (ir *Runtime) doPullImage(ctx context.Context, sc *types.SystemContext, goa
|
|||||||
_, err = cp.Image(ctx, policyContext, imageInfo.dstRef, imageInfo.srcRef, copyOptions)
|
_, err = cp.Image(ctx, policyContext, imageInfo.dstRef, imageInfo.srcRef, copyOptions)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
pullErrors = multierror.Append(pullErrors, err)
|
pullErrors = multierror.Append(pullErrors, err)
|
||||||
logrus.Debugf("Error pulling image ref %s: %v", imageInfo.srcRef.StringWithinTransport(), err)
|
logrus.Errorf("Error pulling image ref %s: %v", imageInfo.srcRef.StringWithinTransport(), err)
|
||||||
if writer != nil {
|
if writer != nil {
|
||||||
io.WriteString(writer, "Failed\n")
|
io.WriteString(writer, "Failed\n")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user