Commit d568c79
committed
Fix errcheck linter: explicitly ignore io.Copy error
The linter requires explicit error handling. Since we're in an error
path and only draining the response body for connection reuse, we
explicitly ignore the error with blank identifiers.1 parent cfb8ab8 commit d568c79
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments