summaryrefslogtreecommitdiff
path: root/pkg/varlinkapi
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-01 14:34:40 +0100
committerGitHub <noreply@github.com>2019-11-01 14:34:40 +0100
commit69165fa04d9db306809a0b110491f9a572f74431 (patch)
tree4399ffe534b5dbbb4a0963ba07a60f15c2d2eb73 /pkg/varlinkapi
parent9a28a12c9bc6f681558f7aa6f797765262fab81b (diff)
parent1df4dba0a0c335ad68b1c2202b8099cd87aa3d94 (diff)
downloadpodman-69165fa04d9db306809a0b110491f9a572f74431.tar.gz
podman-69165fa04d9db306809a0b110491f9a572f74431.tar.bz2
podman-69165fa04d9db306809a0b110491f9a572f74431.zip
Merge pull request #4400 from haircommander/exec-hang
Switch to bufio Reader for exec streams
Diffstat (limited to 'pkg/varlinkapi')
-rw-r--r--pkg/varlinkapi/attach.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/varlinkapi/attach.go b/pkg/varlinkapi/attach.go
index 37adbbf55..5beca3c6f 100644
--- a/pkg/varlinkapi/attach.go
+++ b/pkg/varlinkapi/attach.go
@@ -32,7 +32,7 @@ func setupStreams(call iopodman.VarlinkCall) (*bufio.Reader, *bufio.Writer, *io.
streams := libpod.AttachStreams{
OutputStream: stdoutWriter,
- InputStream: pr,
+ InputStream: bufio.NewReader(pr),
// Runc eats the error stream
ErrorStream: stdoutWriter,
AttachInput: true,