From cbbbf5ee39f5c6c90f211ee22cccf0ae3eb852e2 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Sun, 26 Feb 2017 12:24:03 -0800 Subject: [PATCH] Follow the lead in https://github.com/hashicorp/nomad/commit/6fc901a8f346fafe289452a10347fe317951dd40 and set the default `DisplayName` to `Consul` --- command/agent/command.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command/agent/command.go b/command/agent/command.go index 921aea2fc9..3cad1536e2 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -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" }