diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8fd4c488..30048641 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: fix-byte-order-marker - repo: https://github.com/golangci/golangci-lint - rev: v1.55.2 + rev: v1.56.1 hooks: - id: golangci-lint-full 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)