From 0adf1db3fbeb8a805dc4239f517392cd3b3952e6 Mon Sep 17 00:00:00 2001 From: pengys5 <8082209@qq.com> Date: Wed, 28 Jun 2017 15:11:55 +0800 Subject: [PATCH] fixed grpc proto compile error --- apm-network/src/main/proto/DiscoveryService.proto | 6 +++--- apm-network/src/main/proto/RegisterService.proto | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apm-network/src/main/proto/DiscoveryService.proto b/apm-network/src/main/proto/DiscoveryService.proto index 337e32e93..e9a986bbe 100644 --- a/apm-network/src/main/proto/DiscoveryService.proto +++ b/apm-network/src/main/proto/DiscoveryService.proto @@ -40,11 +40,11 @@ message ServiceNameMappingCollection { message ServiceNameMappingElement { int32 serviceId = 1; - ServiceNameElement element = 1; + ServiceNameElement element = 2; } message ServiceNameElement { - ServiceName = 0; - ApplicationCode = 1; + string serviceName = 1; + string ApplicationCode = 2; } diff --git a/apm-network/src/main/proto/RegisterService.proto b/apm-network/src/main/proto/RegisterService.proto index 109de2bd6..16978439b 100644 --- a/apm-network/src/main/proto/RegisterService.proto +++ b/apm-network/src/main/proto/RegisterService.proto @@ -15,6 +15,6 @@ message Application { message ApplicationMapping { int32 applicationId = 1; - Application = 2; + Application application = 2; }