Register plugins correctly
diff --git a/src/core/ext/lb_policy/pick_first/pick_first.c b/src/core/ext/lb_policy/pick_first/pick_first.c
index 609c2d6..8dc7ed0 100644
--- a/src/core/ext/lb_policy/pick_first/pick_first.c
+++ b/src/core/ext/lb_policy/pick_first/pick_first.c
@@ -423,7 +423,7 @@
/* Plugin registration */
void grpc_lb_policy_pick_first_init() {
- grpc_lb_policy_registry_init(pick_first_lb_factory_create());
+ grpc_register_lb_policy(pick_first_lb_factory_create());
}
void grpc_lb_policy_pick_first_shutdown() {}