refactored deprecated code
This commit is contained in:
@@ -451,5 +451,5 @@ func dialGrpc(ctx context.Context, endpoint discoveryEndpoint) (*grpc.ClientConn
|
||||
if ctx == nil {
|
||||
ctx = context.Background()
|
||||
}
|
||||
return grpc.DialContext(ctx, endpoint.address, dialOpts...)
|
||||
return grpc.NewClient(endpoint.address, dialOpts...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user