Fix prefix output of agent metadata

This commit is contained in:
Alex Dadgar
2018-03-30 16:27:18 -07:00
parent 702a3be41e
commit c53becf596

View File

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