Browse Source

fix Sprintf formatting

pull/498/head
Ali Abbas 10 years ago
parent
commit
a4656f1ecf
  1. 2
      command/agent/command.go

2
command/agent/command.go

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