Browse Source

sample: correct directive name

Both "client-transport-security" and "peer-transport-security"
is mapped to Go struct embed.securityConfig.

Field for client certificate authentication is tagged as
"client-cert-auth", but it is misspelled in "peer-transport-security"
section.
ymmt 7 years ago
parent
commit
73a8bf1fb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcd.conf.yml.sample

+ 1 - 1
etcd.conf.yml.sample

@@ -117,7 +117,7 @@ peer-transport-security:
   key-file:
   key-file:
 
 
   # Enable peer client cert authentication.
   # Enable peer client cert authentication.
-  peer-client-cert-auth: false
+  client-cert-auth: false
 
 
   # Path to the peer server TLS trusted CA cert file.
   # Path to the peer server TLS trusted CA cert file.
   trusted-ca-file:
   trusted-ca-file: