summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-14 12:45:35 +0200
committerGitHub <noreply@github.com>2019-07-14 12:45:35 +0200
commit456b6ab1c2a6cb6602e1885563e26cc5b964d69e (patch)
treee76ba87ffa80c3832c27b0e5860238a1d2527ff8 /libpod
parentc59d08bc77855c0d0d946fa44850a0bf03b102c9 (diff)
parentee76ba5e6833801fcfd918a7d043776e038a28ef (diff)
downloadpodman-456b6ab1c2a6cb6602e1885563e26cc5b964d69e.tar.gz
podman-456b6ab1c2a6cb6602e1885563e26cc5b964d69e.tar.bz2
podman-456b6ab1c2a6cb6602e1885563e26cc5b964d69e.zip
Merge pull request #3530 from deefin/deefin-3490-logging
Improves STD output/readability in combination
Diffstat (limited to 'libpod')
-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 581beb538..2f1d1e912 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
copyOptions.SourceCtx.SystemRegistriesConfPath = systemRegistriesConfPath // FIXME: Set this more globally. Probably no reason not to have it in every types.SystemContext, and to compute the value just once in one place.
// Print the following statement only when pulling from a docker or atomic registry
if writer != nil && (imageInfo.srcRef.Transport().Name() == DockerTransport || imageInfo.srcRef.Transport().Name() == AtomicTransport) {
- if _, err := io.WriteString(writer, fmt.Sprintf("Trying to pull %s...", imageInfo.image)); err != nil {
+ if _, err := io.WriteString(writer, fmt.Sprintf("Trying to pull %s...\n", imageInfo.image)); err != nil {
return nil, err
}
}