summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-03-10 22:35:51 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-03-11 09:25:40 +0100
commitddcdc0c1721e50ae8d7d24f831a9ea81ea168699 (patch)
tree9f8fee1c5fce9f136ef093dc3677195dba741e55
parent349e6911497a95a6a8121524b56704fe680f2b09 (diff)
downloadpodman-ddcdc0c1721e50ae8d7d24f831a9ea81ea168699.tar.gz
podman-ddcdc0c1721e50ae8d7d24f831a9ea81ea168699.tar.bz2
podman-ddcdc0c1721e50ae8d7d24f831a9ea81ea168699.zip
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>
-rw-r--r--libpod/image/pull.go2
1 files changed, 1 insertions, 1 deletions
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")
}