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

alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/develop by this push:
     new 168dbd9  Fix:bug in reference_config
     new 63e0369  Merge pull request #157 from hxmhlt/apache_dev
168dbd9 is described below

commit 168dbd9d750279ad44a63c2a1eb0b08715e83807
Author: vito.he <hxm...@163.com>
AuthorDate: Tue Aug 6 20:25:07 2019 +0800

    Fix:bug in reference_config
---
 config/reference_config.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/reference_config.go b/config/reference_config.go
index bbf3c66..67a4a3d 100644
--- a/config/reference_config.go
+++ b/config/reference_config.go
@@ -94,7 +94,7 @@ func (refconfig *ReferenceConfig) Refer() {
                                refconfig.urls = append(refconfig.urls, 
&serviceUrl)
                        } else {
                                if serviceUrl.Path == "" {
-                                       serviceUrl.Path = "/" + 
refconfig.InterfaceName
+                                       serviceUrl.Path = "/" + refconfig.id
                                }
                                // merge url need to do
                                newUrl := common.MergeUrl(serviceUrl, url)

Reply via email to