You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/03/03 15:47:02 UTC
[skywalking] branch dcs-upgrade updated: Fix format.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch dcs-upgrade
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/dcs-upgrade by this push:
new a462e12 Fix format.
a462e12 is described below
commit a462e129979630ab86543d055962d19de1baddc4
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Tue Mar 3 23:46:47 2020 +0800
Fix format.
---
.../oap/server/configuration/grpc/GRPCConfigWatcherRegister.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/oap-server/server-configuration/grpc-configuration-sync/src/main/java/org/apache/skywalking/oap/server/configuration/grpc/GRPCConfigWatcherRegister.java b/oap-server/server-configuration/grpc-configuration-sync/src/main/java/org/apache/skywalking/oap/server/configuration/grpc/GRPCConfigWatcherRegister.java
index a4df9af..1332e0b 100644
--- a/oap-server/server-configuration/grpc-configuration-sync/src/main/java/org/apache/skywalking/oap/server/configuration/grpc/GRPCConfigWatcherRegister.java
+++ b/oap-server/server-configuration/grpc-configuration-sync/src/main/java/org/apache/skywalking/oap/server/configuration/grpc/GRPCConfigWatcherRegister.java
@@ -56,8 +56,8 @@ public class GRPCConfigWatcherRegister extends ConfigWatcherRegister {
builder.setUuid(uuid);
}
ConfigurationResponse response = stub.call(builder.build());
- String response_uuid = response.getUuid();
- if (Objects.equals(uuid, response_uuid)) {
+ String responseUuid = response.getUuid();
+ if (Objects.equals(uuid, responseUuid)) {
// If UUID matched, the config table is expected as empty.
return Optional.empty();
}