Merge pull request #8282 from jwhonce/issues/7942

Stop binding layer from changing line endings
This commit is contained in:
OpenShift Merge Robot 2020-11-09 19:59:51 +00:00 committed by GitHub
commit 1491b20f08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: