You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2019/10/27 11:14:47 UTC

[dubbo-go] branch develop updated: Fix: group

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 ab06990  Fix: group
     new e53f2a2  Merge pull request #244 from fangyincheng/develop
ab06990 is described below

commit ab0699044d80b4a4df8d5b87b2dbb91fe9ddd9a6
Author: fangyincheng <fa...@sina.com>
AuthorDate: Sat Oct 26 16:54:36 2019 +0800

    Fix: group
---
 protocol/dubbo/client.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/protocol/dubbo/client.go b/protocol/dubbo/client.go
index 03ab704..ba74d86 100644
--- a/protocol/dubbo/client.go
+++ b/protocol/dubbo/client.go
@@ -210,6 +210,7 @@ func (c *Client) call(ct CallType, request *Request, response *Response, callbac
 	p.Service.Path = strings.TrimPrefix(request.svcUrl.Path, "/")
 	p.Service.Interface = request.svcUrl.GetParam(constant.INTERFACE_KEY, "")
 	p.Service.Version = request.svcUrl.GetParam(constant.VERSION_KEY, "")
+	p.Service.Group = request.svcUrl.GetParam(constant.GROUP_KEY, "")
 	p.Service.Method = request.method
 	p.Service.Timeout = c.opts.RequestTimeout
 	p.Header.SerialID = byte(S_Dubbo)