Skip to content
Snippets Groups Projects
Commit 3a9e2304 authored by zengfanwei's avatar zengfanwei
Browse files

修复java dubbo 2.7.7版本不能调通go服务的问题

parent b9f1f129
No related branches found
No related tags found
No related merge requests found
......@@ -326,6 +326,13 @@ func (r *BaseRegistry) providerRegistry(c common.URL, params url.Values, f creat
}
host += ":" + c.Port
//delete empty param key
for key, val := range params {
if len(val) > 0 && val[0] == "" {
params.Del(key)
}
}
rawURL = fmt.Sprintf("%s://%s%s?%s", c.Protocol, host, c.Path, params.Encode())
// Print your own registration service providers.
dubboPath = fmt.Sprintf("/dubbo/%s/%s", r.service(c), (common.RoleType(common.PROVIDER)).String())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment