You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2019/09/25 06:56:15 UTC

[dubbo-js] branch master updated: dubboUrl get default.group

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c6ec32b  dubboUrl get default.group
     new e0839f8  Merge pull request #138 from sunchuanleihit/master
c6ec32b is described below

commit c6ec32bd032d120ecd4b001e3e96f2ef5c7d265d
Author: sunchuanleihit <su...@163.com>
AuthorDate: Sun Sep 15 22:16:47 2019 +0800

    dubboUrl get default.group
---
 packages/dubbo/src/dubbo-url.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/dubbo/src/dubbo-url.ts b/packages/dubbo/src/dubbo-url.ts
index af5a938..77b12c3 100644
--- a/packages/dubbo/src/dubbo-url.ts
+++ b/packages/dubbo/src/dubbo-url.ts
@@ -46,7 +46,7 @@ export default class DubboUrl {
     this.dubboVersion = this._query.dubbo || '';
     this.version =
       this._query.version || this._query['default.version'] || '0.0.0';
-    this.group = this._query.group || '';
+    this.group = this._query.group || this._query['default.group'] || '';
   }
 
   private readonly _url: Url;