From a722ba647824d2cd45224144b48f63c87b8369f5 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Mon, 9 Nov 2020 10:37:18 -0700 Subject: 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 --- pkg/bindings/containers/logs.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkg') 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: -- cgit v1.2.3-54-g00ecf