summaryrefslogtreecommitdiff
path: root/cli/ops
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ops')
-rw-r--r--cli/ops/fetch.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/ops/fetch.rs b/cli/ops/fetch.rs
index f43133d7f..580fd993a 100644
--- a/cli/ops/fetch.rs
+++ b/cli/ops/fetch.rs
@@ -31,7 +31,8 @@ pub fn op_fetch(
let args: FetchArgs = serde_json::from_value(args)?;
let url = args.url;
- let client = create_http_client();
+ let client =
+ create_http_client(state.borrow().global_state.flags.ca_file.clone())?;
let method = match args.method {
Some(method_str) => Method::from_bytes(method_str.as_bytes())?,