From 0e5de864712d03df53e5b9fa75585b9ab46978bd Mon Sep 17 00:00:00 2001 From: nannanfighting <215879084@qq.com> Date: Fri, 2 Jul 2021 13:26:23 +0800 Subject: [PATCH] fix issue-8042 (#8191) Co-authored-by: stoneapple <736551961@qq.com> --- .../org/apache/dubbo/registry/integration/RegistryProtocol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java index 21847684989..3ccaa247019 100644 --- a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java +++ b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java @@ -678,7 +678,7 @@ public synchronized void doOverrideIfNecessary() { //The current, may have been merged many times URL currentUrl = exporter.getInvoker().getUrl(); //Merged with this configuration - URL newUrl = getConfigedInvokerUrl(configurators, currentUrl); + URL newUrl = getConfigedInvokerUrl(configurators, originUrl); newUrl = getConfigedInvokerUrl(providerConfigurationListener.getConfigurators(), newUrl); newUrl = getConfigedInvokerUrl(serviceConfigurationListeners.get(originUrl.getServiceKey()) .getConfigurators(), newUrl);