Skip to content

Commit e9692b6

Browse files
[pre-commit.ci] pre-commit autoupdate (#227)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/golangci/golangci-lint: v1.55.2 → v1.56.1](golangci/golangci-lint@v1.55.2...v1.56.1) * Fix linter --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Luca Comellini <luca.com@gmail.com>
1 parent 9ad577c commit e9692b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: fix-byte-order-marker
2020

2121
- repo: https://github.com/golangci/golangci-lint
22-
rev: v1.55.2
22+
rev: v1.56.1
2323
hooks:
2424
- id: golangci-lint-full
2525

client/nginx_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ func TestHaveSameParametersForStream(t *testing.T) {
524524

525525
func TestClientWithCheckAPI(t *testing.T) {
526526
// Create a test server that returns supported API versions
527-
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
527+
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
528528
_, err := w.Write([]byte(`[4, 5, 6, 7, 8, 9]`))
529529
if err != nil {
530530
t.Fatalf("unexpected error: %v", err)

0 commit comments

Comments
 (0)