Skip to content

Commit

Permalink
golangci-lint: ignore deprecation notices in gRPC pkg
Browse files Browse the repository at this point in the history
Those have been fixed on the main branch, let's ignore them safely on
the stable branch.

Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Sep 2, 2024
1 parent 52cffbd commit 96c0ad7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ issues:
# The file gets prefixed with "Code generated by cmd/cgo; DO NOT EDIT."
- linters: [goheader]
path: pkg/sensors/tracing/genericuprobe_cgo.go
# Ignoring grpc.DialContext and grpc.WithBlock deprecation on a stable branch
- linters: [staticcheck]
text: "SA1019: grpc.DialContext is deprecated: use NewClient instead. Will be supported throughout 1.x."
- linters: [staticcheck]
text: "SA1019: grpc.WithBlock is deprecated: this DialOption is not supported by NewClient. Will be supported throughout 1.x."

0 comments on commit 96c0ad7

Please sign in to comment.