Merge pull request #2304 from hashicorp/b-circonus-token

Redacts the Circonus API token from stats JSON.
This commit is contained in:
James Phillips 2016-08-24 23:27:58 -07:00 committed by GitHub
commit 8775760483
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ type Telemetry struct {
// CirconusAPIToken is a valid API Token used to create/manage check. If provided,
// metric management is enabled.
// Default: none
CirconusAPIToken string `mapstructure:"circonus_api_token"`
CirconusAPIToken string `mapstructure:"circonus_api_token" json:"-"`
// CirconusAPIApp is an app name associated with API token.
// Default: "consul"
CirconusAPIApp string `mapstructure:"circonus_api_app"`