-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Upgrade websocket failure add extra error info #127485
Upgrade websocket failure add extra error info #127485
Conversation
/triage accepted |
08bf960
to
63b6d0b
Compare
/retest |
/assign @liggitt |
63b6d0b
to
9f3663d
Compare
9f3663d
to
6ed9e95
Compare
/retest |
6ed9e95
to
491611a
Compare
/lgtm |
LGTM label has been added. Git tree hash: 66e9498bd445ff589006adb7e4c2d2dd8617a5b8
|
/test pull-kubernetes-integration |
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.
one nit, then lgtm
responseError := "" | ||
responseErrorBytes, readErr := io.ReadAll(io.LimitReader(resp.Body, 64*1024)) | ||
if readErr != nil { | ||
cause = fmt.Errorf("%w (unable to read error from server response)", cause) |
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.
cause = fmt.Errorf("%w (unable to read error from server response)", cause) | |
cause = fmt.Errorf("%w: unable to read error from server response", cause) |
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.
Fixed.
491611a
to
eec2be8
Compare
/lgtm |
LGTM label has been added. Git tree hash: b21c795a58e03a8c28ffb172572ca63200646d62
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, seans3 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind cleanup