Skip to content

Commit 2702156

Browse files
committed
pkg/bindings: on terminal attach always wait for stdout to be done
Do not exit early just because stdin copy was done. Signed-off-by: Paul Holzinger <[email protected]>
1 parent 7ff07b6 commit 2702156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/bindings/containers/attach.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func Attach(ctx context.Context, nameOrID string, stdin io.Reader, stdout io.Wri
180180
return err
181181
}
182182

183-
return nil
183+
return <-stdoutChan
184184
}
185185
}
186186
} else {

0 commit comments

Comments
 (0)