mirror of https://github.com/status-im/consul.git
fix Sprintf formatting
This commit is contained in:
parent
e395420af6
commit
a4656f1ecf
|
@ -310,7 +310,7 @@ func (c *Command) setupAgent(config *Config, logOutput io.Writer, logWriter *log
|
|||
servers, err := NewHTTPServers(agent, config, logOutput)
|
||||
if err != nil {
|
||||
agent.Shutdown()
|
||||
c.Ui.Error(fmt.Sprintf("Error starting http servers:", err))
|
||||
c.Ui.Error(fmt.Sprintf("Error starting http servers: %s", err))
|
||||
return err
|
||||
}
|
||||
c.httpServers = servers
|
||||
|
|
Loading…
Reference in New Issue