dialopts fix #129

Merged
vtolstov merged 1 commits from dialoptsfix into v3 2023-06-23 12:24:14 +03:00
Showing only changes of commit f2cfd562c3 - Show all commits

View File

@ -118,6 +118,9 @@ func (g *grpcClient) call(ctx context.Context, addr string, req client.Request,
),
}
if opts := g.getGrpcDialOptions(g.opts.Context); opts != nil {
grpcDialOptions = append(grpcDialOptions, opts...)
}
if opts := g.getGrpcDialOptions(opts.Context); opts != nil {
grpcDialOptions = append(grpcDialOptions, opts...)
}