This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 5af0128  [Dubbo-6963] fix bug: delete last config not take effect 
(#6964)
5af0128 is described below

commit 5af0128ad6e2823d1084b99eb2809dc94f361201
Author: wiki <[email protected]>
AuthorDate: Fri Apr 30 11:11:59 2021 +0800

    [Dubbo-6963] fix bug: delete last config not take effect (#6964)
    
    * fix bug: delete last config not take effect
    
    * merge master
---
 .../java/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 a98252e..edccd3c 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
@@ -681,7 +681,7 @@ public class RegistryProtocol implements Protocol {
             //The current, may have been merged many times
             URL currentUrl = exporter.getInvoker().getUrl();
             //Merged with this configuration
-            URL newUrl = getConfiguredInvokerUrl(configurators, currentUrl);
+            URL newUrl = getConfiguredInvokerUrl(configurators, originUrl);
             newUrl = 
getConfiguredInvokerUrl(providerConfigurationListener.getConfigurators(), 
newUrl);
             newUrl = 
getConfiguredInvokerUrl(serviceConfigurationListeners.get(originUrl.getServiceKey())
                     .getConfigurators(), newUrl);

Reply via email to