Conceptual deliverable
This commit is contained in:
4
grpc.go
4
grpc.go
@@ -541,11 +541,11 @@ func (g *grpcClient) String() string {
|
||||
}
|
||||
|
||||
func (g *grpcClient) getGrpcDialOptions() []grpc.DialOption {
|
||||
if g.opts.Context == nil {
|
||||
if g.opts.CallOptions.Context == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
v := g.opts.Context.Value(grpcDialOptions{})
|
||||
v := g.opts.CallOptions.Context.Value(grpcDialOptions{})
|
||||
|
||||
if v == nil {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user