Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 35980b7

Browse files
committed
Fix linters
Signed-off-by: Leandro López (inkel) <[email protected]>
1 parent 7967b4b commit 35980b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ func TestClient_requestWithRetries(t *testing.T) {
211211
http.Error(w, `{"error":"calm down"}`, http.StatusTooManyRequests)
212212

213213
default:
214-
w.Write([]byte(`{"foo":"bar"}`))
214+
w.Write([]byte(`{"foo":"bar"}`)) //nolint:errcheck
215215
}
216216
}))
217217
defer ts.Close()
@@ -257,7 +257,6 @@ func TestClient_requestWithRetries(t *testing.T) {
257257
}
258258

259259
type customRoundTripper struct {
260-
rt http.RoundTripper
261260
try int
262261
}
263262

0 commit comments

Comments
 (0)