fix Sprintf formatting

This commit is contained in:
Ali Abbas 2014-11-25 20:06:33 +01:00
parent e395420af6
commit a4656f1ecf
1 changed files with 1 additions and 1 deletions

View File

@ -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