From a4656f1ecff22d5b3607ad6000ae5a83f8da005c Mon Sep 17 00:00:00 2001 From: Ali Abbas Date: Tue, 25 Nov 2014 20:06:33 +0100 Subject: [PATCH] fix Sprintf formatting --- command/agent/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/command.go b/command/agent/command.go index 3e1f17bf16..03e92e11e2 100644 --- a/command/agent/command.go +++ b/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) 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