Skip to content
Snippets Groups Projects
Commit f4d5df2f authored by cvictory's avatar cvictory
Browse files

fix log error

parent 60f53ab8
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,12 @@ func (dir *RegistryDirectory) NotifyAll(events []*registry.ServiceEvent, callbac ...@@ -121,7 +121,12 @@ func (dir *RegistryDirectory) NotifyAll(events []*registry.ServiceEvent, callbac
// refreshInvokers refreshes service's events. // refreshInvokers refreshes service's events.
func (dir *RegistryDirectory) refreshInvokers(event *registry.ServiceEvent) { func (dir *RegistryDirectory) refreshInvokers(event *registry.ServiceEvent) {
logger.Debugf("refresh invokers with %+v", event) if event != nil {
logger.Debugf("refresh invokers with %+v")
} else {
logger.Debug("refresh invokers with nil")
}
var oldInvoker protocol.Invoker var oldInvoker protocol.Invoker
if event != nil { if event != nil {
oldInvoker, _ = dir.cacheInvokerByEvent(event) oldInvoker, _ = dir.cacheInvokerByEvent(event)
......
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