diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-06-16 17:21:43 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-06-16 17:21:43 -0400 |
commit | e67dd9ffabff1fda156fe0c2f2e8bef8d3d6dfef (patch) | |
tree | e32cbc31d34e67b3771dd26431eea38cae3cb44b /pkg/domain/infra | |
parent | 89630adbc418eac4a7eddf683226ee61f24f93be (diff) | |
download | podman-e67dd9ffabff1fda156fe0c2f2e8bef8d3d6dfef.tar.gz podman-e67dd9ffabff1fda156fe0c2f2e8bef8d3d6dfef.tar.bz2 podman-e67dd9ffabff1fda156fe0c2f2e8bef8d3d6dfef.zip |
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>
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r-- | pkg/domain/infra/tunnel/containers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go index 955149fcf..8f6f5c8b7 100644 --- a/pkg/domain/infra/tunnel/containers.go +++ b/pkg/domain/infra/tunnel/containers.go @@ -370,7 +370,7 @@ func (ic *ContainerEngine) ContainerLogs(_ context.Context, nameOrIDs []string, case <-ctx.Done(): return err case line := <-outCh: - _, _ = io.WriteString(options.Writer, line) + _, _ = io.WriteString(options.Writer, line+"\n") } } } |