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

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


The following commit(s) were added to refs/heads/master by this push:
     new c0f44e0  Merge pull request #1839, remove validation key from provider 
url registered to registry.
c0f44e0 is described below

commit c0f44e08794a66e9d0a216b3acbc14d77bedd9b0
Author: nzomkxia <z82507...@gmail.com>
AuthorDate: Thu May 24 14:44:13 2018 +0800

    Merge pull request #1839, remove validation key from provider url 
registered to registry.
    
    Fixes #1386.
---
 .../java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java
 
b/dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java
index 3f5b731..fd414ed 100644
--- 
a/dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java
+++ 
b/dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java
@@ -50,6 +50,7 @@ import java.util.concurrent.Executors;
 import static com.alibaba.dubbo.common.Constants.ACCEPT_FOREIGN_IP;
 import static com.alibaba.dubbo.common.Constants.QOS_ENABLE;
 import static com.alibaba.dubbo.common.Constants.QOS_PORT;
+import static com.alibaba.dubbo.common.Constants.VALIDATION_KEY;
 
 /**
  * RegistryProtocol
@@ -227,7 +228,8 @@ public class RegistryProtocol implements Protocol {
                 .removeParameter(Constants.BIND_PORT_KEY)
                 .removeParameter(QOS_ENABLE)
                 .removeParameter(QOS_PORT)
-                .removeParameter(ACCEPT_FOREIGN_IP);
+                .removeParameter(ACCEPT_FOREIGN_IP)
+                .removeParameter(VALIDATION_KEY);
         return registedProviderUrl;
     }
 

-- 
To stop receiving notification emails like this one, please contact
liu...@apache.org.

Reply via email to