Skip to content

Commit dceeda4

Browse files
committed
fix tests
1 parent 6029cd4 commit dceeda4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

cli/deployment/config.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/config.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,13 @@ type TLSConfig struct {
225225
// Usage: PEM-encoded Certificate Authority file used for checking the authenticity of client
226226
// Flag: tls-client-ca-file
227227
ClientCAFile string `mapstructure:"tls_client_ca_file" json:"tls_client_ca_file"`
228-
// Usage: Policy the server will follow for TLS Client Authentication. Accepted values are "none", "request", "require-any", "verify-if-given", or "require-and-verify".
229-
// Flag: tls-client-auth
228+
// Usage: Policy the server will follow for TLS Client Authentication. Accepted values are "none", "request", "require-any", "verify-if-given", or "require-and-verify".
229+
// Flag: tls-client-auth
230+
// Default: "request"
230231
ClientAuth string `mapstructure:"tls_client_auth" json:"tls_client_auth"`
231232
// Usage: Paths to the private keys for each of the certificates. It requires a PEM-encoded file.
232233
// Flag: tls-key-file
233-
KeyFiles []string `mapstructure:"tls_key_tiles" json:"tls_key_tiles"`
234+
KeyFiles []string `mapstructure:"tls_key_files" json:"tls_key_files"`
234235
// Usage: Minimum supported version of TLS. Accepted values are "tls10", "tls11", "tls12" or "tls13"
235236
// Flag: tls-min-version
236237
// Default: "tls12"

0 commit comments

Comments
 (0)