aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-09-15 13:40:32 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-09-15 13:40:32 -0700
commitf7c45aea5367c1340b1c05b6011528f2f9e39d43 (patch)
tree10dca67ec2657d288c76c94844ca18c61a60eb84
parentb4291642758342a596a11146bef88b4aaf059a76 (diff)
Address review comments
-rw-r--r--src/core/ext/client_config/lb_policy.h4
-rw-r--r--src/core/ext/lb_policy/grpclb/grpclb.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ext/client_config/lb_policy.h b/src/core/ext/client_config/lb_policy.h
index b92a73c09a..a244b06ec6 100644
--- a/src/core/ext/client_config/lb_policy.h
+++ b/src/core/ext/client_config/lb_policy.h
@@ -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,
diff --git a/src/core/ext/lb_policy/grpclb/grpclb.c b/src/core/ext/lb_policy/grpclb/grpclb.c
index 2a23011e81..a9e329ed6d 100644
--- a/src/core/ext/lb_policy/grpclb/grpclb.c
+++ b/src/core/ext/lb_policy/grpclb/grpclb.c
@@ -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",