Merge pull request #8282 from jwhonce/issues/7942
Stop binding layer from changing line endings
This commit is contained in:
		
						commit
						1491b20f08
					
				| 
						 | 
				
			
			@ -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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue