fix Sprintf formatting

pull/498/head
Ali Abbas 10 years ago
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) servers, err := NewHTTPServers(agent, config, logOutput)
if err != nil { if err != nil {
agent.Shutdown() 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 return err
} }
c.httpServers = servers c.httpServers = servers

Loading…
Cancel
Save