Default value for skip tls parameter

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

View file

@ -39,7 +39,8 @@ pub struct ConfigOptsConsul {
pub url: Option<String>,
/// Consul's CA certificate [default: None]
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,
/// Consul's client certificate [default: None]
pub client_cert: Option<String>,