From: Sebastian Harl Date: Mon, 25 Apr 2016 21:52:57 +0000 (+0200) Subject: grpc plugin: Update to the new gRPC API. X-Git-Tag: collectd-5.6.0~246^2~13 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=704a0fed3a3dd9ea009168ca44818739b34f907e;p=collectd.git grpc plugin: Update to the new gRPC API. --- diff --git a/src/grpc.cc b/src/grpc.cc index 2f79f42d..a1abe4a2 100644 --- a/src/grpc.cc +++ b/src/grpc.cc @@ -301,7 +301,7 @@ public: } } - builder.RegisterAsyncService(&service_); + builder.RegisterService(&service_); cq_ = builder.AddCompletionQueue(); server_ = builder.BuildAndStart(); } /* Start() */