Skip to content

Commit 472de3f

Browse files
committed
move field
1 parent d82dbe9 commit 472de3f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config/configtls/configtls.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ var systemCertPool = x509.SystemCertPool
2828
// Note: Since there isn't anything specific to a server connection. Components
2929
// with server connections should use TLSSetting.
3030
type TLSSetting struct {
31-
// If true, load system CA certificates pool in addition to the certificates
32-
// configured in this struct.
33-
IncludeSystemCACertsPool bool `mapstructure:"include_system_ca_certs_pool"`
3431
// Path to the CA cert. For a client this verifies the server certificate.
3532
// For a server this verifies client certificates. If empty uses system root CA.
3633
// (optional)
@@ -39,6 +36,10 @@ type TLSSetting struct {
3936
// In memory PEM encoded cert. (optional)
4037
CAPem configopaque.String `mapstructure:"ca_pem"`
4138

39+
// If true, load system CA certificates pool in addition to the certificates
40+
// configured in this struct.
41+
IncludeSystemCACertsPool bool `mapstructure:"include_system_ca_certs_pool"`
42+
4243
// Path to the TLS cert to use for TLS required connections. (optional)
4344
CertFile string `mapstructure:"cert_file"`
4445

0 commit comments

Comments
 (0)