Skip to content
Snippets Groups Projects
Commit 4438cddc authored by LaurenceLiZhixin's avatar LaurenceLiZhixin
Browse files

Fix

parent e14c18f9
No related branches found
No related tags found
No related merge requests found
......@@ -188,9 +188,7 @@ func (dir *RegistryDirectory) refreshAllInvokers(events []*registry.ServiceEvent
for _, event := range addEvents {
logger.Debugf("registry update, result{%s}", event)
logger.Infof("selector add service url{%s}", event.Service)
if constant.ROUTER_PROTOCOL == event.Service.Protocol {
dir.configRouters()
}
dir.configRouters()
if oldInvoker, _ := dir.doCacheInvoker(event.Service); oldInvoker != nil {
oldInvokers = append(oldInvokers, oldInvoker)
}
......
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