You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A client refactor is needed when upgrading to gRPC 1.64.0
The client shouldn't block prior to making RPC calls and instead, use timeouts on the calls rather than the client connection itself.
client/client.go:328:3 staticcheck SA1019: grpc.WithBlock is deprecated: this DialOption is not supported by NewClient. Will be supported throughout 1.x.
client/client.go:340:15 staticcheck SA1019: grpc.DialContext is deprecated: use NewClient instead. Will be supported throughout 1.x.
client/client.go:376:15 staticcheck SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x.
client/client_test.go:155:12 staticcheck SA1019: grpc.DialContext is deprecated: use NewClient instead. Will be supported throughout 1.x.
client/wait_test.go:106:15 staticcheck SA1019: grpc.DialContext is deprecated: use NewClient instead. Will be supported throughout 1.x.
Describe the bug
A client refactor is needed when upgrading to gRPC 1.64.0
The client shouldn't block prior to making RPC calls and instead, use timeouts on the calls rather than the client connection itself.
To Reproduce
use
make lint
to describe the deprecated issues and reference docs https://pkg.go.dev/google.golang.org/grpc#DialContextExpected behavior
The text was updated successfully, but these errors were encountered: