Skip to content
Permalink
Browse files
Merge remote-tracking branch 'upstream/master' into fix-group-for-reg…
…ister
  • Loading branch information
qixiaobo committed Jul 25, 2019
2 parents ba91721 + 6072531 commit 44f25ca6c780123c8d86f07c70506b04dc3b5936
Showing 2 changed files with 2 additions and 2 deletions.
@@ -20,7 +20,7 @@
<slf4j.version>1.7.26</slf4j.version>
<log4j.version>1.2.17</log4j.version>
<curator.version>2.12.0</curator.version>
<dubbo.version>2.7.1</dubbo.version>
<dubbo.version>2.7.3</dubbo.version>
</properties>

<dependencyManagement>
@@ -50,7 +50,7 @@ public ServiceMapping getServiceMapping() {
Registry getRegistry() {
URL url = URL.valueOf(registryAddress);
if (StringUtils.isNotEmpty(group)) {
url = url.addParameter(org.apache.dubbo.common.Constants.GROUP_KEY, group);
url = url.addParameter(org.apache.dubbo.common.constants.CommonConstants.GROUP_KEY, group);
}
RegistryFactory registryFactory = ExtensionLoader.getExtensionLoader(RegistryFactory.class).getAdaptiveExtension();
Registry registry = registryFactory.getRegistry(url);

0 comments on commit 44f25ca

Please sign in to comment.