-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
refactor: drop ensurewriter wrapper #42062
Conversation
stdlib properly handles EAGAIN and EINTR so there is no need for the extra wrapper and duplicate handling
This pull request doesn't have a |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
linter should be fixed once #42066 is merged |
* refactor: drop ensurewriter wrapper stdlib properly handles EAGAIN and EINTR so there is no need for the extra wrapper and duplicate handling * Update util.go * Update util.go * Update util.go * Update util.go (cherry picked from commit 95a32ed)
* refactor: drop ensurewriter wrapper stdlib properly handles EAGAIN and EINTR so there is no need for the extra wrapper and duplicate handling * Update util.go * Update util.go * Update util.go * Update util.go (cherry picked from commit 95a32ed) Co-authored-by: kruskall <99559985+kruskall@users.noreply.github.com>
Proposed commit message
stdlib properly handles EAGAIN and EINTR so there is no need for the extra wrapper and duplicate handling
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs