Skip to content
Snippets Groups Projects
Commit 18f4b609 authored by vito.he's avatar vito.he
Browse files

Fix: fix bug when go-client calling java-client by p2p

parent 93e4af98
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ func (refconfig *ReferenceConfig) Refer() {
refconfig.urls = append(refconfig.urls, &serviceUrl)
} else {
if serviceUrl.Path == "" {
serviceUrl.Path = refconfig.InterfaceName + "/"
serviceUrl.Path = "/" + refconfig.InterfaceName
}
// merge url need to do
newUrl := common.MergeUrl(serviceUrl, url)
......
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