Default value for skip tls parameter
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed

This commit is contained in:
Alex 2022-12-01 17:47:31 +01:00
parent e7f6c15bc1
commit 2a910c7af2
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

@ -39,7 +39,8 @@ pub struct ConfigOptsConsul {
pub url: Option<String>, pub url: Option<String>,
/// Consul's CA certificate [default: None] /// Consul's CA certificate [default: None]
pub ca_cert: Option<String>, pub ca_cert: Option<String>,
/// Skip TLS verification for Consul server /// Skip TLS verification for Consul server [default: false]
#[serde(default)]
pub tls_skip_verify: bool, pub tls_skip_verify: bool,
/// Consul's client certificate [default: None] /// Consul's client certificate [default: None]
pub client_cert: Option<String>, pub client_cert: Option<String>,