diff options
author | Mark D. Roth <roth@google.com> | 2016-09-15 12:51:29 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-09-15 12:51:29 -0700 |
commit | 1621c26c1ec49207e994e4b11671fb8fb38225ba (patch) | |
tree | 05ded84838d112c4901f23c999d42a7af197e2e6 /src/core/ext/client_config/client_channel.c | |
parent | 1beb35b24b277598b9101f122de4cf8400973e96 (diff) |
Allow resolver to pass channel args to LB policy.
Diffstat (limited to 'src/core/ext/client_config/client_channel.c')
-rw-r--r-- | src/core/ext/client_config/client_channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ext/client_config/client_channel.c b/src/core/ext/client_config/client_channel.c index 2e6f253d38..0343a5e254 100644 --- a/src/core/ext/client_config/client_channel.c +++ b/src/core/ext/client_config/client_channel.c @@ -179,6 +179,8 @@ static void on_resolver_result_changed(grpc_exec_ctx *exec_ctx, void *arg, grpc_lb_policy_args lb_policy_args; lb_policy_args.addresses = grpc_resolver_result_get_addresses(chand->resolver_result); + lb_policy_args.additional_args = + grpc_resolver_result_get_lb_policy_args(chand->resolver_result); lb_policy_args.client_channel_factory = chand->client_channel_factory; lb_policy = grpc_lb_policy_create( exec_ctx, |