summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-17 01:14:00 +0200
committerGitHub <noreply@github.com>2020-06-17 01:14:00 +0200
commite4e10dfc3e35f0c104f36ccb10aa6f2204446ed8 (patch)
treee32cbc31d34e67b3771dd26431eea38cae3cb44b
parent89630adbc418eac4a7eddf683226ee61f24f93be (diff)
parente67dd9ffabff1fda156fe0c2f2e8bef8d3d6dfef (diff)
downloadpodman-e4e10dfc3e35f0c104f36ccb10aa6f2204446ed8.tar.gz
podman-e4e10dfc3e35f0c104f36ccb10aa6f2204446ed8.tar.bz2
podman-e4e10dfc3e35f0c104f36ccb10aa6f2204446ed8.zip
Merge pull request #6635 from rhatdan/logs
Add <return> to lines returned in podman-remote logs
-rw-r--r--pkg/domain/infra/tunnel/containers.go2
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")
}
}
}