Skip to content

Commit 120a87e

Browse files
committed
linting
1 parent e7e555e commit 120a87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/promoauth/oauth2_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func TestGithubRateLimits(t *testing.T) {
217217
func registryDump(reg *prometheus.Registry) string {
218218
h := promhttp.HandlerFor(reg, promhttp.HandlerOpts{})
219219
rec := httptest.NewRecorder()
220-
req, _ := http.NewRequest(http.MethodGet, "/", nil)
220+
req, _ := http.NewRequestWithContext(context.Background(), http.MethodGet, "/", nil)
221221
h.ServeHTTP(rec, req)
222222
resp := rec.Result()
223223
data, _ := io.ReadAll(resp.Body)

0 commit comments

Comments
 (0)