未验证 提交 b6f7dce8 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

forward compatbility for DCS (#4442)

上级 d32450aa
...@@ -57,7 +57,7 @@ public class GRPCConfigWatcherRegister extends ConfigWatcherRegister { ...@@ -57,7 +57,7 @@ public class GRPCConfigWatcherRegister extends ConfigWatcherRegister {
} }
ConfigurationResponse response = stub.call(builder.build()); ConfigurationResponse response = stub.call(builder.build());
String responseUuid = response.getUuid(); String responseUuid = response.getUuid();
if (Objects.equals(uuid, responseUuid)) { if (responseUuid != null && Objects.equals(uuid, responseUuid)) {
// If UUID matched, the config table is expected as empty. // If UUID matched, the config table is expected as empty.
return Optional.empty(); return Optional.empty();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册