diff options
author | 2016-12-16 10:53:50 -0800 | |
---|---|---|
committer | 2016-12-16 10:53:50 -0800 | |
commit | b229094678502e2606164a3240dbc8375ad403b5 (patch) | |
tree | cd240905dcd478aa8b8e5df4f912ce7135e4368e /src/core/ext/client_channel/client_channel.c | |
parent | 52fc1eabb464e8b8c1e3305fd66bf49d1982b99f (diff) | |
parent | 63e3e3b1df2ffc212acf5114aac49c7c75987f6b (diff) |
Merge pull request #8789 from y-zeng/resolver_pollset
Add grpc_pollset_set to grpc_resolve_address
Diffstat (limited to 'src/core/ext/client_channel/client_channel.c')
-rw-r--r-- | src/core/ext/client_channel/client_channel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/ext/client_channel/client_channel.c b/src/core/ext/client_channel/client_channel.c index 5698d65572..9d46338428 100644 --- a/src/core/ext/client_channel/client_channel.c +++ b/src/core/ext/client_channel/client_channel.c @@ -526,7 +526,9 @@ static grpc_error *cc_init_channel_elem(grpc_exec_ctx *exec_ctx, arg = grpc_channel_args_find(args->channel_args, GRPC_ARG_SERVER_URI); GPR_ASSERT(arg != NULL); GPR_ASSERT(arg->type == GRPC_ARG_STRING); - chand->resolver = grpc_resolver_create(arg->value.string, args->channel_args); + chand->resolver = + grpc_resolver_create(exec_ctx, arg->value.string, args->channel_args, + chand->interested_parties); if (chand->resolver == NULL) { return GRPC_ERROR_CREATE("resolver creation failed"); } |