summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-09 19:59:51 +0000
committerGitHub <noreply@github.com>2020-11-09 19:59:51 +0000
commit1491b20f089546eb4859df774964df3e2b31803d (patch)
treea364861954715d407e12b59c31b16e4c06f25c9f
parent8f33751b57f7a59b92f87dc8d88669bc13706097 (diff)
parenta722ba647824d2cd45224144b48f63c87b8369f5 (diff)
downloadpodman-1491b20f089546eb4859df774964df3e2b31803d.tar.gz
podman-1491b20f089546eb4859df774964df3e2b31803d.tar.bz2
podman-1491b20f089546eb4859df774964df3e2b31803d.zip
Merge pull request #8282 from jwhonce/issues/7942
Stop binding layer from changing line endings
-rw-r--r--pkg/bindings/containers/logs.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/bindings/containers/logs.go b/pkg/bindings/containers/logs.go
index 750a6dbe1..a73517bac 100644
--- a/pkg/bindings/containers/logs.go
+++ b/pkg/bindings/containers/logs.go
@@ -1,7 +1,6 @@
package containers
import (
- "bytes"
"context"
"fmt"
"io"
@@ -64,7 +63,6 @@ func Logs(ctx context.Context, nameOrID string, opts LogOptions, stdoutChan, std
if err != nil {
return err
}
- frame = bytes.Replace(frame[0:l], []byte{13}, []byte{10}, -1)
switch fd {
case 0: