Skip to content

Commit

Permalink
fix linter for grpc.DialContext deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
zalimeni committed Sep 18, 2024
1 parent c5f7a36 commit 7a1c75a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ issues:
text: 'SA1019:'
path: "(agent/grpc-external|agent/grpc-internal)"

# Allow usage of deprecated grpc.DialContext until we've migrated from it.
- linters: [ staticcheck ]
text: 'SA1019: grpc.DialContext is deprecated: use NewClient instead'

# An argument that always receives the same value is often not a problem.
- linters: [unparam]
text: "always receives"
Expand Down

0 comments on commit 7a1c75a

Please sign in to comment.