Hides the acl_replication_token from JSON output, like in /v1/agent/self.

This commit is contained in:
James Phillips 2016-08-03 17:00:59 -07:00
parent d336bdd7b0
commit 18b817b575
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ type Config struct {
// order to replicate them locally. Setting this to a non-empty value
// also enables replication. Replication is only available in datacenters
// other than the ACLDatacenter.
ACLReplicationToken string `mapstructure:"acl_replication_token"`
ACLReplicationToken string `mapstructure:"acl_replication_token" json:"-"`
// Watches are used to monitor various endpoints and to invoke a
// handler to act appropriately. These are managed entirely in the