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

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


The following commit(s) were added to refs/heads/3.0 by this push:
     new 491f156  fix: add format placeholder for error
491f156 is described below

commit 491f15613361df6b555ecfb8d7bcc0eb7ea88316
Author: yuyu.zx <[email protected]>
AuthorDate: Fri Sep 24 13:27:19 2021 +0800

    fix: add format placeholder for error
---
 registry/servicediscovery/service_discovery_registry.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/registry/servicediscovery/service_discovery_registry.go 
b/registry/servicediscovery/service_discovery_registry.go
index 40a0bf3..5fffcd4 100644
--- a/registry/servicediscovery/service_discovery_registry.go
+++ b/registry/servicediscovery/service_discovery_registry.go
@@ -348,7 +348,7 @@ func tryInitMetadataService(url *common.URL) {
        // report interface-app mapping
        err = 
publishMapping(expt.(*configurable.MetadataServiceExporter).ServiceConfig)
        if err != nil {
-               logger.Errorf("Publish interface-application mapping failed", 
err)
+               logger.Errorf("Publish interface-application mapping failed, 
got error %#v", err)
        }
 }
 

Reply via email to