aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/census/grpc_filter.c
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-11-18 10:53:13 -0800
committerGravatar Mark D. Roth <roth@google.com>2016-11-18 10:53:13 -0800
commit5e2566e92b0603cfa6c6a989ab7e2372525ca03d (patch)
treed60e77f3becf17483c6faf40ce6a827964c6bd37 /src/core/ext/census/grpc_filter.c
parent86e905901fa1331f2326f0a881dd79322eeff6c8 (diff)
Change destroy_call_elem() to return a grpc_error*.
Diffstat (limited to 'src/core/ext/census/grpc_filter.c')
-rw-r--r--src/core/ext/census/grpc_filter.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/ext/census/grpc_filter.c b/src/core/ext/census/grpc_filter.c
index 397dbc40a8..c73385f98b 100644
--- a/src/core/ext/census/grpc_filter.c
+++ b/src/core/ext/census/grpc_filter.c
@@ -167,11 +167,12 @@ static void server_destroy_call_elem(grpc_exec_ctx *exec_ctx,
/* TODO(hongyu): record rpc server stats and census_tracing_end_op here */
}
-static void init_channel_elem(grpc_exec_ctx *exec_ctx,
- grpc_channel_element *elem,
- grpc_channel_element_args *args) {
+static grpc_error* init_channel_elem(grpc_exec_ctx *exec_ctx,
+ grpc_channel_element *elem,
+ grpc_channel_element_args *args) {
channel_data *chand = elem->channel_data;
GPR_ASSERT(chand != NULL);
+ return GRPC_ERROR_NONE;
}
static void destroy_channel_elem(grpc_exec_ctx *exec_ctx,