diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-11-09 10:37:18 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-11-09 10:37:18 -0700 |
commit | a722ba647824d2cd45224144b48f63c87b8369f5 (patch) | |
tree | d52238b24a167b129c81d5709ed3f456802bcc67 /pkg/bindings | |
parent | e2b82e6245ed9459a37dc004a2b1d593d2835cb7 (diff) | |
download | podman-a722ba647824d2cd45224144b48f63c87b8369f5.tar.gz podman-a722ba647824d2cd45224144b48f63c87b8369f5.tar.bz2 podman-a722ba647824d2cd45224144b48f63c87b8369f5.zip |
Stop binding layer from changing line endings
The binding layer attempted to help the CLI, which just made things
worse.
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/bindings')
-rw-r--r-- | pkg/bindings/containers/logs.go | 2 |
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: |