Conceptual deliverable

This commit is contained in:
orb li
2019-10-10 13:55:16 +08:00
committed by Vasiliy Tolstov
parent ab876bfc74
commit cb8ba30ac5
2 changed files with 9 additions and 9 deletions

View File

@@ -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