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/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 37d7fc1 fix #5837 (#5839)
37d7fc1 is described below
commit 37d7fc123d4bdbb0847b1f91dd776191b79ac420
Author: qinliujie <[email protected]>
AuthorDate: Mon Mar 9 17:45:21 2020 +0800
fix #5837 (#5839)
---
.../java/org/apache/dubbo/registry/integration/RegistryDirectory.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/RegistryDirectory.java
b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java
index 5790690..736108f 100644
---
a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java
+++
b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java
@@ -141,7 +141,7 @@ public class RegistryDirectory<T> extends
AbstractDirectory<T> implements Notify
}
shouldRegister = !ANY_VALUE.equals(url.getServiceInterface()) &&
url.getParameter(REGISTER_KEY, true);
- shouldSimplified = !url.getParameter(SIMPLIFIED_KEY, false);
+ shouldSimplified = url.getParameter(SIMPLIFIED_KEY, false);
if (url.getServiceKey() == null || url.getServiceKey().length() == 0) {
throw new IllegalArgumentException("registry serviceKey is null.");
}