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

pull/2237/head
James Phillips 8 years ago
parent d336bdd7b0
commit 18b817b575
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11

@ -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

Loading…
Cancel
Save