From 3a2e8a7c00f69f568f7656f0c96d8c2a9946861c Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 25 May 2019 15:40:37 +0800 Subject: [PATCH] fix fmt error --- pkg/naming/discovery/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/naming/discovery/discovery.go b/pkg/naming/discovery/discovery.go index c63896f1f..f47fd9584 100644 --- a/pkg/naming/discovery/discovery.go +++ b/pkg/naming/discovery/discovery.go @@ -119,7 +119,7 @@ func fixConfig(c *Config) error { } if len(c.Nodes) == 0 || c.Region == "" || c.Zone == "" || c.Env == "" || c.Host == "" { return fmt.Errorf( - "invalid discovery config nodes:%+s region:%s zone:%s deployEnv:%s host:%s", + "invalid discovery config nodes:%+v region:%s zone:%s deployEnv:%s host:%s", c.Nodes, c.Region, c.Zone,