Address review comments

pull/7962/head
Yuchen Zeng 9 years ago
parent b429164275
commit f7c45aea53
  1. 4
      src/core/ext/client_config/lb_policy.h
  2. 2
      src/core/ext/lb_policy/grpclb/grpclb.c

@ -125,8 +125,8 @@ void grpc_lb_policy_init(grpc_lb_policy *policy,
/** Given initial metadata in \a initial_metadata, find an appropriate
target for this rpc, and 'return' it by calling \a on_complete after setting
\a target.
Picking can be asynchronous. Any IO should be done under the pollset_set
interested_parties. */
Picking can be asynchronous. Any IO should be done under the \a
interested_parties \a grpc_pollset_set in the \a grpc_lb_policy struct. */
int grpc_lb_policy_pick(grpc_exec_ctx *exec_ctx, grpc_lb_policy *policy,
grpc_metadata_batch *initial_metadata,
uint32_t initial_metadata_flags,

@ -761,7 +761,7 @@ static lb_client_data *lb_client_data_create(glb_lb_policy *glb_policy) {
/* Note the following LB call progresses every time there's activity in \a
* glb_policy->base.interested_parties, which is comprised of the polling
* entities from client_channel. */
* entities from \a client_channel. */
lb_client->lb_call = grpc_channel_create_pollset_set_call(
glb_policy->lb_channel, NULL, GRPC_PROPAGATE_DEFAULTS,
glb_policy->base.interested_parties, "/BalanceLoad",

Loading…
Cancel
Save