Skip to content
Snippets Groups Projects
Commit 5145aed5 authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #157 from hxmhlt/apache_dev

Fix:bug in reference_config
parents 99f2cafa e98a7598
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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