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/24 12:22:19 UTC
[dubbo-go] branch master updated: [Fix]fix dubbo group issues#238
This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/master by this push:
new c29a9e1 [Fix]fix dubbo group issues#238
new 5473e10 Merge pull request #243 from apollo-go/feature/groupfix
c29a9e1 is described below
commit c29a9e140b3485881005f1a52b30646a61b37046
Author: xiangjianzhong <xi...@cvte.com>
AuthorDate: Tue Oct 22 12:13:14 2019 +0800
[Fix]fix dubbo group issues#238
---
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)