diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-01 17:47:31 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-01 17:49:57 +0100 |
commit | 2a910c7af2b5b1f59397a1acf4b7cb1d574dbf42 (patch) | |
tree | 45b3c32b6c9c66c88c6345729cb9d32a42d83820 /src | |
parent | e7f6c15bc11ce04fdc3444f7bd1a588516e92dd9 (diff) | |
download | diplonat-2a910c7af2b5b1f59397a1acf4b7cb1d574dbf42.tar.gz diplonat-2a910c7af2b5b1f59397a1acf4b7cb1d574dbf42.zip |
Default value for skip tls parameter
Diffstat (limited to 'src')
-rw-r--r-- | src/config/options.rs | 3 |
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>, |