liubao68 commented on a change in pull request #2387:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/2387#discussion_r634314091
##########
File path:
service-registry/registry-service-center/src/main/java/org/apache/servicecomb/serviceregistry/RegistryUtils.java
##########
@@ -253,6 +253,9 @@ public static void
executeOnEachServiceRegistry(Consumer<ServiceRegistry> action
public static void addExtraServiceRegistry(ServiceRegistry serviceRegistry) {
Objects.requireNonNull(serviceRegistry);
+ if (EXTRA_SERVICE_REGISTRIES.containsKey(serviceRegistry.getName())) {
Review comment:
and name can not be the default regitry name
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]