Skip to content

Commit

Permalink
fix override url notify bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cvictory committed Jun 30, 2021
1 parent a5c9d26 commit 7e6dbcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions registry/directory/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ func (dir *RegistryDirectory) cacheInvoker(url *common.URL, event *registry.Serv
if url.Protocol == referenceUrl.Protocol || referenceUrl.Protocol == "" {
newUrl := common.MergeUrl(url, referenceUrl)
dir.overrideUrl(newUrl)
event.Update(newUrl)
if v, ok := dir.doCacheInvoker(newUrl, event); ok {
return v
}
Expand Down

0 comments on commit 7e6dbcb

Please sign in to comment.