-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix: fix stdin hang when kubectl exec
#2044
Conversation
@@ -53,6 +53,7 @@ func (s *streamRuntime) Exec(ctx context.Context, containerID string, cmd []stri | |||
} | |||
|
|||
attachConfig := &mgr.AttachConfig{ | |||
Stdin: streamOpts.Stdin, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add test case to lock this error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should make an issue for cri-tools to make the test more complete.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
look good to me
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
LGTM |
Codecov Report
@@ Coverage Diff @@
## master #2044 +/- ##
=========================================
Coverage ? 63.84%
=========================================
Files ? 201
Lines ? 15528
Branches ? 0
=========================================
Hits ? 9914
Misses ? 4381
Partials ? 1233
|
Signed-off-by: YaoZengzeng yaozengzeng@zju.edu.cn
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews