Skip to content

Commit

Permalink
Fixes startup version print to show the human version.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Phillips committed Jul 20, 2016
1 parent 8a8271f commit 2087772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ func (c *Command) Run(args []string) int {
c.agent.StartSync()

c.Ui.Output("Consul agent running!")
c.Ui.Info(fmt.Sprintf(" Version: '%s'", c.Version))
c.Ui.Info(fmt.Sprintf(" Version: '%s'", c.HumanVersion))
c.Ui.Info(fmt.Sprintf(" Node name: '%s'", config.NodeName))
c.Ui.Info(fmt.Sprintf(" Datacenter: '%s'", config.Datacenter))
c.Ui.Info(fmt.Sprintf(" Server: %v (bootstrap: %v)", config.Server, config.Bootstrap))
Expand Down

0 comments on commit 2087772

Please sign in to comment.