From ae9849d6ceb2405ce56a1ade177d2c89e44ea5c4 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 12 Feb 2024 17:21:06 -0800 Subject: [PATCH] Fix linter --- client/nginx_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/nginx_test.go b/client/nginx_test.go index bb901db0..fdbb32ef 100644 --- a/client/nginx_test.go +++ b/client/nginx_test.go @@ -524,7 +524,7 @@ func TestHaveSameParametersForStream(t *testing.T) { func TestClientWithCheckAPI(t *testing.T) { // Create a test server that returns supported API versions - ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) { _, err := w.Write([]byte(`[4, 5, 6, 7, 8, 9]`)) if err != nil { t.Fatalf("unexpected error: %v", err)