From 7b9cff4b73f216a881e0802bc539f9b21e0e86dc Mon Sep 17 00:00:00 2001 From: Zhenxu Ke Date: Sun, 20 Dec 2020 00:17:46 +0800 Subject: [PATCH] chore: fix typo gprc -> grpc (#6035) --- dist-material/release-docs/LICENSE | 2 +- .../apm/testcase/grpc/controller/CaseController.java | 4 ++-- .../apm/testcase/grpc/controller/CaseController.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist-material/release-docs/LICENSE b/dist-material/release-docs/LICENSE index c390f00da4..d170a6b2b8 100755 --- a/dist-material/release-docs/LICENSE +++ b/dist-material/release-docs/LICENSE @@ -226,7 +226,7 @@ The following components are provided under the Apache License. See project link The text of each license is the standard Apache 2.0 license. raphw (byte-buddy) 1.10.14: http://bytebuddy.net/ , Apache 2.0 - Google: gprc-java 1.32.1: https://github.com/grpc/grpc-java, Apache 2.0 + Google: grpc-java 1.32.1: https://github.com/grpc/grpc-java, Apache 2.0 Google: guava 28.1: https://github.com/google/guava , Apache 2.0 Google: guice 4.1.0: https://github.com/google/guice , Apache 2.0 Google: gson 2.8.6: https://github.com/google/gson , Apache 2.0 diff --git a/test/plugin/scenarios/correlation-autotag-scenario/src/main/java/org/apache/skywalking/apm/testcase/grpc/controller/CaseController.java b/test/plugin/scenarios/correlation-autotag-scenario/src/main/java/org/apache/skywalking/apm/testcase/grpc/controller/CaseController.java index 7c90a6feea..e94d37ac6e 100644 --- a/test/plugin/scenarios/correlation-autotag-scenario/src/main/java/org/apache/skywalking/apm/testcase/grpc/controller/CaseController.java +++ b/test/plugin/scenarios/correlation-autotag-scenario/src/main/java/org/apache/skywalking/apm/testcase/grpc/controller/CaseController.java @@ -48,7 +48,7 @@ public class CaseController { private static final String SUCCESS = "Success"; - private final String gprcProviderHost = "127.0.0.1"; + private final String grpcProviderHost = "127.0.0.1"; private final int grpcProviderPort = 18080; private ManagedChannel channel; private GreeterGrpc.GreeterStub greeterStub; @@ -57,7 +57,7 @@ public class CaseController { @PostConstruct public void up() { - channel = ManagedChannelBuilder.forAddress(gprcProviderHost, grpcProviderPort).usePlaintext(true).build(); + channel = ManagedChannelBuilder.forAddress(grpcProviderHost, grpcProviderPort).usePlaintext(true).build(); greeterStub = GreeterGrpc.newStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); greeterBlockingStub = GreeterBlockingGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); greeterBlockingErrorStub = GreeterBlockingErrorGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); diff --git a/test/plugin/scenarios/grpc-scenario/src/main/java/org/apache/skywalking/apm/testcase/grpc/controller/CaseController.java b/test/plugin/scenarios/grpc-scenario/src/main/java/org/apache/skywalking/apm/testcase/grpc/controller/CaseController.java index f266de4ee5..568ce72a09 100644 --- a/test/plugin/scenarios/grpc-scenario/src/main/java/org/apache/skywalking/apm/testcase/grpc/controller/CaseController.java +++ b/test/plugin/scenarios/grpc-scenario/src/main/java/org/apache/skywalking/apm/testcase/grpc/controller/CaseController.java @@ -43,7 +43,7 @@ public class CaseController { private static final String SUCCESS = "Success"; - private final String gprcProviderHost = "127.0.0.1"; + private final String grpcProviderHost = "127.0.0.1"; private final int grpcProviderPort = 18080; private ManagedChannel channel; private GreeterGrpc.GreeterStub greeterStub; @@ -52,7 +52,7 @@ public class CaseController { @PostConstruct public void up() { - channel = ManagedChannelBuilder.forAddress(gprcProviderHost, grpcProviderPort).usePlaintext(true).build(); + channel = ManagedChannelBuilder.forAddress(grpcProviderHost, grpcProviderPort).usePlaintext(true).build(); greeterStub = GreeterGrpc.newStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); greeterBlockingStub = GreeterBlockingGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); greeterBlockingErrorStub = GreeterBlockingErrorGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); -- GitLab