diff --git a/.golangci.yml b/.golangci.yml index 1c33e1d55ac..4aa40d3613b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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."