aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-vcs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart-vcs')
-rw-r--r--crates/mozart-vcs/src/driver/bitbucket.rs2
-rw-r--r--crates/mozart-vcs/src/driver/forgejo.rs2
-rw-r--r--crates/mozart-vcs/src/driver/github.rs2
-rw-r--r--crates/mozart-vcs/src/driver/gitlab.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/crates/mozart-vcs/src/driver/bitbucket.rs b/crates/mozart-vcs/src/driver/bitbucket.rs
index 77704fa..0e67bc8 100644
--- a/crates/mozart-vcs/src/driver/bitbucket.rs
+++ b/crates/mozart-vcs/src/driver/bitbucket.rs
@@ -37,7 +37,7 @@ impl BitbucketDriver {
branches: None,
info_cache: IndexMap::new(),
git_driver: None,
- http_client: Client::new(),
+ http_client: mozart_core::http::default_client(),
config,
api_failed: false,
vcs_type: "git".to_string(),
diff --git a/crates/mozart-vcs/src/driver/forgejo.rs b/crates/mozart-vcs/src/driver/forgejo.rs
index 488e165..665c177 100644
--- a/crates/mozart-vcs/src/driver/forgejo.rs
+++ b/crates/mozart-vcs/src/driver/forgejo.rs
@@ -42,7 +42,7 @@ impl ForgejoDriver {
branches: None,
info_cache: IndexMap::new(),
git_driver: None,
- http_client: Client::new(),
+ http_client: mozart_core::http::default_client(),
config,
api_failed: false,
}
diff --git a/crates/mozart-vcs/src/driver/github.rs b/crates/mozart-vcs/src/driver/github.rs
index 9c11389..e968c3e 100644
--- a/crates/mozart-vcs/src/driver/github.rs
+++ b/crates/mozart-vcs/src/driver/github.rs
@@ -40,7 +40,7 @@ impl GitHubDriver {
repo_data: None,
info_cache: IndexMap::new(),
git_driver: None,
- http_client: Client::new(),
+ http_client: mozart_core::http::default_client(),
config,
api_failed: false,
}
diff --git a/crates/mozart-vcs/src/driver/gitlab.rs b/crates/mozart-vcs/src/driver/gitlab.rs
index c1afbcb..937251a 100644
--- a/crates/mozart-vcs/src/driver/gitlab.rs
+++ b/crates/mozart-vcs/src/driver/gitlab.rs
@@ -44,7 +44,7 @@ impl GitLabDriver {
branches: None,
info_cache: IndexMap::new(),
git_driver: None,
- http_client: Client::new(),
+ http_client: mozart_core::http::default_client(),
config,
api_failed: false,
}