mirror of
https://github.com/containers/podman.git
synced 2025-06-21 17:38:12 +08:00
Merge pull request #8282 from jwhonce/issues/7942
Stop binding layer from changing line endings
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
package containers
|
package containers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
@ -64,7 +63,6 @@ func Logs(ctx context.Context, nameOrID string, opts LogOptions, stdoutChan, std
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
frame = bytes.Replace(frame[0:l], []byte{13}, []byte{10}, -1)
|
|
||||||
|
|
||||||
switch fd {
|
switch fd {
|
||||||
case 0:
|
case 0:
|
||||||
|
Reference in New Issue
Block a user