From ee76ba5e6833801fcfd918a7d043776e038a28ef Mon Sep 17 00:00:00 2001 From: dom finn Date: Tue, 9 Jul 2019 21:05:53 +1000 Subject: Improves STD output/readability in combination with debug output. Added \n char to specific standard output Signed-off-by: dom finn --- libpod/image/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod/image') 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 } } -- cgit v1.2.3-54-g00ecf