aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-10-17 12:43:10 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-10-17 12:43:10 -0700
commit7ab83b59bedbb9bfd0917a7f5429e3150751e3d6 (patch)
tree3590bd80ce177d253f70cd57d9a9956c2e010150 /src
parentd8fe334d5b92ef50e44c75ac19d8dced53efc476 (diff)
fixed missing variable rename
Diffstat (limited to 'src')
-rw-r--r--src/core/ext/load_reporting/load_reporting_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/load_reporting/load_reporting_filter.c b/src/core/ext/load_reporting/load_reporting_filter.c
index 22bf36367f..eeae2400fb 100644
--- a/src/core/ext/load_reporting/load_reporting_filter.c
+++ b/src/core/ext/load_reporting/load_reporting_filter.c
@@ -193,7 +193,7 @@ static grpc_mdelem *lr_trailing_md_filter(void *user_data, grpc_mdelem *md) {
grpc_call_element *elem = user_data;
call_data *calld = elem->call_data;
- if (md->key == GRPC_MDSTR_LB_COST) {
+ if (md->key == GRPC_MDSTR_LB_COST_BIN) {
calld->trailing_md_string = gpr_strdup(grpc_mdstr_as_c_string(md->value));
return NULL;
}