Skip to content

Commit ddea70d

Browse files
committed
Update godoc comment, fix docs
1 parent b2fcecb commit ddea70d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

physical/raft/raft.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,18 +126,18 @@ type LeaderJoinInfo struct {
126126
// client authentication during TLS.
127127
LeaderClientKey string `json:"leader_client_key"`
128128

129-
// LeaderCACert is the CA cert of the leader node. This should only be
130-
// provided via Vault's configuration file.
129+
// LeaderCACertFile is the path on disk to the the CA cert file of the
130+
// leader node. This should only be provided via Vault's configuration file.
131131
LeaderCACertFile string `json:"leader_ca_cert_file"`
132132

133-
// LeaderClientCert is the client certificate for the follower node to
134-
// establish client authentication during TLS. This should only be provided
135-
// via Vault's configuration file.
133+
// LeaderClientCertFile is the path on disk to the client certificate file
134+
// for the follower node to establish client authentication during TLS. This
135+
// should only be provided via Vault's configuration file.
136136
LeaderClientCertFile string `json:"leader_client_cert_file"`
137137

138-
// LeaderClientKey is the client key for the follower node to establish
139-
// client authentication during TLS. This should only be provided via
140-
// Vault's configuration file.
138+
// LeaderClientKeyFile is the path on disk to the client key file for the
139+
// follower node to establish client authentication during TLS. This should
140+
// only be provided via Vault's configuration file.
141141
LeaderClientKeyFile string `json:"leader_client_key_file"`
142142

143143
// Retry indicates if the join process should automatically be retried

website/pages/docs/configuration/storage/raft.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ time. To use Raft for HA coordination users must also use Raft for storage.
101101
- `leader_ca_cert_file` `(string: "")` - File path to the CA cert of the
102102
possible leader node.
103103

104-
- `leader_client_cert_file` `(string: "")` -File path to the client certificate
104+
- `leader_client_cert_file` `(string: "")` - File path to the client certificate
105105
for the follower node to establish client authentication with the possible
106106
leader node.
107107

0 commit comments

Comments
 (0)