From a0a451ff5f859a8aaaf16fe7e54b9b8bbd3c080e Mon Sep 17 00:00:00 2001 From: aliiohs <renzhiyuan@wecash.net> Date: Wed, 6 May 2020 22:39:22 +0800 Subject: [PATCH] Modify the comment of Process method --- registry/directory/directory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/directory/directory.go b/registry/directory/directory.go index bdfc3d6e6..8a11f1b36 100644 --- a/registry/directory/directory.go +++ b/registry/directory/directory.go @@ -338,7 +338,7 @@ func (l *consumerConfigurationListener) addNotifyListener(listener registry.Noti l.listeners = append(l.listeners, listener) } -// Process handle events and update Invokers +// Process Process handles events from Configuration Center and update Invokers func (l *consumerConfigurationListener) Process(event *config_center.ConfigChangeEvent) { l.BaseConfigurationListener.Process(event) l.directory.refreshInvokers(nil) -- GitLab