From ddcdc0c1721e50ae8d7d24f831a9ea81ea168699 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sun, 10 Mar 2019 22:35:51 +0100 Subject: pull: promote debug statement to error print an error if there is any failure pulling an image. Signed-off-by: Giuseppe Scrivano --- libpod/image/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod/image/pull.go') diff --git a/libpod/image/pull.go b/libpod/image/pull.go index 6b9f7fc67..607829771 100644 --- a/libpod/image/pull.go +++ b/libpod/image/pull.go @@ -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) if err != nil { 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 { io.WriteString(writer, "Failed\n") } -- cgit v1.2.3-54-g00ecf