You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by yi...@apache.org on 2018/09/27 16:14:32 UTC
[incubator-dubbo] branch master updated: fix #2545 delayed address
(such as zookeeper) parsing (#2565)
This is an automated email from the ASF dual-hosted git repository.
yiji 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 040343b fix #2545 delayed address (such as zookeeper) parsing (#2565)
040343b is described below
commit 040343b917a3989fe6fba30a6deddb8974a68bb5
Author: zetas <35...@qq.com>
AuthorDate: Fri Sep 28 00:14:23 2018 +0800
fix #2545 delayed address (such as zookeeper) parsing (#2565)
---
.../java/org/apache/dubbo/registry/support/AbstractRegistryFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistryFactory.java b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistryFactory.java
index 4c83ea3..8347d9a 100644
--- a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistryFactory.java
+++ b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistryFactory.java
@@ -85,7 +85,7 @@ public abstract class AbstractRegistryFactory implements RegistryFactory {
url = url.setPath(RegistryService.class.getName())
.addParameter(Constants.INTERFACE_KEY, RegistryService.class.getName())
.removeParameters(Constants.EXPORT_KEY, Constants.REFER_KEY);
- String key = url.toServiceString();
+ String key = url.toServiceStringWithoutResolving();
// Lock the registry access process to ensure a single instance of the registry
LOCK.lock();
try {