mirror of
https://github.com/status-im/consul.git
synced 2025-01-24 12:40:17 +00:00
RH: Add revision (if it exists)
This commit is contained in:
parent
25eeab5e49
commit
e2f7e825a1
@ -412,6 +412,10 @@ func (c *Command) setupAgent(config *Config, logOutput io.Writer, logWriter *log
|
||||
|
||||
if len(config.VersionPrerelease) != 0 {
|
||||
version += " " + config.VersionPrerelease
|
||||
|
||||
if len(config.Revision) != 0 {
|
||||
version += " " + config.Revision
|
||||
}
|
||||
}
|
||||
|
||||
c.Ui.Output("Starting Consul agent (" + version + ")...")
|
||||
|
Loading…
x
Reference in New Issue
Block a user