Skip to content

Commit d4860b9

Browse files
update var name for P_TLS_SKIP_VERIFY
1 parent b44ce92 commit d4860b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ pub struct Options {
217217
value_name = "bool",
218218
default_value = "false"
219219
)]
220-
pub skip_tls: bool,
220+
pub tls_skip_verify: bool,
221221

222222
// Storage configuration
223223
#[arg(

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub static INTRA_CLUSTER_CLIENT: Lazy<Client> = Lazy::new(|| {
101101
.brotli(true) // brotli compress for all requests
102102
.use_rustls_tls() // use only the rustls backend
103103
.http1_only() // use only http/1.1
104-
.danger_accept_invalid_certs(PARSEABLE.options.skip_tls)
104+
.danger_accept_invalid_certs(PARSEABLE.options.tls_skip_verify)
105105
.build()
106106
.expect("Construction of client shouldn't fail")
107107
});

0 commit comments

Comments
 (0)