mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 03:15:42 +03:00
Fix prefix output of agent metadata
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user