forked from Deuxfleurs/diplonat
Default value for skip tls parameter
This commit is contained in:
parent
e7f6c15bc1
commit
2a910c7af2
1 changed files with 2 additions and 1 deletions
|
@ -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>,
|
||||||
|
|
Loading…
Reference in a new issue