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

finalt 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 b505f89f9 fix: modify placeholder in the log(#2618)
b505f89f9 is described below

commit b505f89f9da2342c34b04042e39615f5c40ddc5a
Author: Parksosaurus <[email protected]>
AuthorDate: Mon Mar 11 20:56:43 2024 +0800

    fix: modify placeholder in the log(#2618)
---
 registry/servicediscovery/service_instances_changed_listener_impl.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/registry/servicediscovery/service_instances_changed_listener_impl.go 
b/registry/servicediscovery/service_instances_changed_listener_impl.go
index f5123cebd..5b5433049 100644
--- a/registry/servicediscovery/service_instances_changed_listener_impl.go
+++ b/registry/servicediscovery/service_instances_changed_listener_impl.go
@@ -99,7 +99,7 @@ func (lstn *ServiceInstancesChangedListenerImpl) OnEvent(e 
observer.Event) error
        protocolRevisionsToUrls := 
make(map[string]map[*gxset.HashSet][]*common.URL)
        newServiceURLs := make(map[string][]*common.URL)
 
-       logger.Infof("Received instance notification event of service %s, 
instance list size %s", ce.ServiceName, len(ce.Instances))
+       logger.Infof("Received instance notification event of service %s, 
instance list size %d", ce.ServiceName, len(ce.Instances))
 
        for _, instances := range lstn.allInstances {
                for _, instance := range instances {

Reply via email to