File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
2323 "time"
2424
2525 "google.golang.org/grpc"
26+ rlsgrpc "google.golang.org/grpc/internal/proto/grpc_lookup_v1"
2627 rlspb "google.golang.org/grpc/internal/proto/grpc_lookup_v1"
2728)
2829
@@ -43,7 +44,7 @@ const grpcTargetType = "grpc"
4344// throttling and asks this client to make an RPC call only after checking with
4445// the throttler.
4546type rlsClient struct {
46- stub rlspb .RouteLookupServiceClient
47+ stub rlsgrpc .RouteLookupServiceClient
4748 // origDialTarget is the original dial target of the user and sent in each
4849 // RouteLookup RPC made to the RLS server.
4950 origDialTarget string
@@ -54,7 +55,7 @@ type rlsClient struct {
5455
5556func newRLSClient (cc * grpc.ClientConn , dialTarget string , rpcTimeout time.Duration ) * rlsClient {
5657 return & rlsClient {
57- stub : rlspb .NewRouteLookupServiceClient (cc ),
58+ stub : rlsgrpc .NewRouteLookupServiceClient (cc ),
5859 origDialTarget : dialTarget ,
5960 rpcTimeout : rpcTimeout ,
6061 }
You can’t perform that action at this time.
0 commit comments