From 168dbd9d750279ad44a63c2a1eb0b08715e83807 Mon Sep 17 00:00:00 2001 From: "vito.he" Date: Tue, 6 Aug 2019 20:25:07 +0800 Subject: [PATCH] Fix:bug in reference_config --- config/reference_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/reference_config.go b/config/reference_config.go index bbf3c66b06..67a4a3d816 100644 --- a/config/reference_config.go +++ b/config/reference_config.go @@ -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)