This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/main by this push:
     new b9496d367 fix #2430, call offline services (#2584)
b9496d367 is described below

commit b9496d3672ab43eef293073b7e5a8975821c3bf2
Author: finalt <[email protected]>
AuthorDate: Fri Jan 19 23:55:44 2024 +0800

    fix #2430, call offline services (#2584)
---
 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 142361528..1f3a294f7 100644
--- a/registry/directory/directory.go
+++ b/registry/directory/directory.go
@@ -142,7 +142,7 @@ func (dir *RegistryDirectory) Notify(event 
*registry.ServiceEvent) {
 // NotifyAll notify the events that are complete Service Event List.
 // After notify the address, the callback func will be invoked.
 func (dir *RegistryDirectory) NotifyAll(events []*registry.ServiceEvent, 
callback func()) {
-       go dir.refreshAllInvokers(events, callback)
+       dir.refreshAllInvokers(events, callback)
 }
 
 // refreshInvokers refreshes service's events.

Reply via email to