mirror of https://github.com/status-im/consul.git
Follow the lead in 6fc901a8f3
and set the default `DisplayName` to `Consul`
This commit is contained in:
parent
f5fe659497
commit
cbbbf5ee39
|
@ -1018,6 +1018,10 @@ func (c *Command) Run(args []string) int {
|
|||
cfg.CheckManager.Broker.ID = config.Telemetry.CirconusBrokerID
|
||||
cfg.CheckManager.Broker.SelectTag = config.Telemetry.CirconusBrokerSelectTag
|
||||
|
||||
if cfg.CheckManager.Check.DisplayName == "" {
|
||||
cfg.CheckManager.Check.DisplayName = "Consul"
|
||||
}
|
||||
|
||||
if cfg.CheckManager.API.TokenApp == "" {
|
||||
cfg.CheckManager.API.TokenApp = "consul"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue