grpc: factor out setup func #7909
+53
−153
Merged
Loading