Skip to content
Snippets Groups Projects
Commit 603d8293 authored by haohongfan's avatar haohongfan
Browse files

feat: fix protocol need a new url

parent e9160e30
No related branches found
No related tags found
No related merge requests found
...@@ -274,7 +274,7 @@ func (nl *overrideSubscribeListener) doOverrideIfNecessary() { ...@@ -274,7 +274,7 @@ func (nl *overrideSubscribeListener) doOverrideIfNecessary() {
} }
if currentUrl.String() != providerUrl.String() { if currentUrl.String() != providerUrl.String() {
newRegUrl := nl.originInvoker.GetUrl() newRegUrl := nl.originInvoker.GetUrl().Clone()
setProviderUrl(newRegUrl, providerUrl) setProviderUrl(newRegUrl, providerUrl)
nl.protocol.reExport(nl.originInvoker, newRegUrl) nl.protocol.reExport(nl.originInvoker, newRegUrl)
} }
......
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