fix fmt error

pull/124/head
Tony 6 years ago
parent 63028bf8aa
commit 3a2e8a7c00
  1. 2
      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 == "" { if len(c.Nodes) == 0 || c.Region == "" || c.Zone == "" || c.Env == "" || c.Host == "" {
return fmt.Errorf( 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.Nodes,
c.Region, c.Region,
c.Zone, c.Zone,

Loading…
Cancel
Save