Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#227)
Browse files Browse the repository at this point in the history
* [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 <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and lucacome authored Feb 13, 2024
1 parent 9ad577c commit e9692b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion client/nginx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e9692b6

Please sign in to comment.