From c53becf5965933cc51354ad5aeb3fcb0e8a0b80d Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Fri, 30 Mar 2018 16:27:18 -0700 Subject: [PATCH] Fix prefix output of agent metadata --- 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 59926777c..597cf9a37 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -529,7 +529,7 @@ func (c *Command) Run(args []string) int { padding := 18 c.Ui.Output("Nomad agent configuration:\n") for _, k := range infoKeys { - c.Ui.Output(fmt.Sprintf( + c.Ui.Info(fmt.Sprintf( "%s%s: %s", strings.Repeat(" ", padding-len(k)), strings.Title(k),