aboutsummaryrefslogtreecommitdiff
path: root/src/config/options.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/options.rs')
-rw-r--r--src/config/options.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/options.rs b/src/config/options.rs
index 28b3379..793838a 100644
--- a/src/config/options.rs
+++ b/src/config/options.rs
@@ -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>,