aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-01 17:50:46 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-01 17:50:46 +0100
commitf8431271d9021bfd4bfb85d8c3ba331d5dff9dac (patch)
treec0e58bd8adf707f1bd76f2566e6ce1fb1c487586
parent04528d1e60a6b8757f3eb68f4f42569246d2e3f6 (diff)
parent2a910c7af2b5b1f59397a1acf4b7cb1d574dbf42 (diff)
downloaddiplonat-f8431271d9021bfd4bfb85d8c3ba331d5dff9dac.tar.gz
diplonat-f8431271d9021bfd4bfb85d8c3ba331d5dff9dac.zip
Merge branch 'consul-tls' into nix-flake
-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>,