summaryrefslogtreecommitdiff
path: root/cli/tools
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools')
-rw-r--r--cli/tools/installer.rs2
-rw-r--r--cli/tools/upgrade.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs
index 82a44de16..e0cb5a222 100644
--- a/cli/tools/installer.rs
+++ b/cli/tools/installer.rs
@@ -139,7 +139,7 @@ pub async fn infer_name_from_url(url: &Url) -> Option<String> {
if url.path() == "/" {
let client = HttpClient::new(None, None);
- if let Ok(res) = client.get_redirected_response(url.clone()).await {
+ if let Ok(res) = client.get_redirected_response(url.clone(), None).await {
url = res.url().clone();
}
}
diff --git a/cli/tools/upgrade.rs b/cli/tools/upgrade.rs
index 8379c6fd2..00e7a2d57 100644
--- a/cli/tools/upgrade.rs
+++ b/cli/tools/upgrade.rs
@@ -619,7 +619,7 @@ async fn download_package(
// text above which will stay alive after the progress bars are complete
let progress = progress_bar.update("");
client
- .download_with_progress(download_url, &progress)
+ .download_with_progress(download_url, None, &progress)
.await?
};
match maybe_bytes {