diff --git a/.golangci.yml b/.golangci.yml index 3b94c2f50176..adb9306929a6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -33,9 +33,9 @@ issues: text: 'SA1019:' path: "(agent/grpc-external|agent/grpc-internal)" - # Allow usage of deprecated grpc.DialContext until we've migrated from it. + # Allow usage of deprecated grpc DialContext and WithBlock until we've migrated from it. - linters: [ staticcheck ] - text: 'SA1019: grpc.DialContext is deprecated: use NewClient instead' + text: '(DialContext|WithBlock) is deprecated' # An argument that always receives the same value is often not a problem. - linters: [unparam]