Skip to content

Commit

Permalink
Merge pull request #157 from hxmhlt/apache_dev
Browse files Browse the repository at this point in the history
Fix:bug in reference_config
  • Loading branch information
AlexStocks authored Aug 6, 2019
2 parents 8d7c1c1 + 168dbd9 commit 63e0369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/reference_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 63e0369

Please sign in to comment.