mirror of https://github.com/containers/podman.git
Add <return> to lines returen in podman-remote logs
Every line is sent back individually over the APIv2 as logs, but we are not adding the '\n' to give us line breaks. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
89630adbc4
commit
e67dd9ffab
|
@ -370,7 +370,7 @@ func (ic *ContainerEngine) ContainerLogs(_ context.Context, nameOrIDs []string,
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
return err
|
return err
|
||||||
case line := <-outCh:
|
case line := <-outCh:
|
||||||
_, _ = io.WriteString(options.Writer, line)
|
_, _ = io.WriteString(options.Writer, line+"\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue