Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
lint: added exclusion rule for generated method
Browse files Browse the repository at this point in the history
  • Loading branch information
lavkesh committed Sep 11, 2023
1 parent f4dad01 commit 217b59b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ issues:
- gocritic
- dupl
- goerr113
- nosnakecase
- path: cli
linters:
- forbidigo
- contextcheck
severity:
default-severity: error
default-severity: error
2 changes: 1 addition & 1 deletion internal/server/v1/dlq/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func TestListTopicDates(t *testing.T) {
Prefix: "test-prefix",
Delim: "",
}).Return(topicDates, nil)
handler := Handler{service: NewService(eService, gClient)}
handler := NewHandler(NewService(eService, gClient))
httpWriter := &mockHTTPWriter{}
httpRequest := &http.Request{}
handler.listFirehoseDLQ(httpWriter, httpRequest)
Expand Down

0 comments on commit 217b59b

Please sign in to comment.