Redacts the Circonus API token from stats JSON.

This commit is contained in:
James Phillips 2016-08-24 23:27:25 -07:00
parent 36dc9201f2
commit 53c73f0ee5
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
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"`