diff --git a/src/api2/node/apt.rs b/src/api2/node/apt.rs index 99d155a7..28c38470 100644 --- a/src/api2/node/apt.rs +++ b/src/api2/node/apt.rs @@ -239,7 +239,7 @@ fn apt_get_changelog(param: Value) -> Result { } let proxy_config = read_and_update_proxy_config()?; - let mut client = pbs_simple_http(proxy_config); + let client = pbs_simple_http(proxy_config); let changelog_url = &pkg_info[0].change_log_url; // FIXME: use 'apt-get changelog' for proxmox packages as well, once repo supports it diff --git a/src/tools/subscription.rs b/src/tools/subscription.rs index 673f66c5..94a62675 100644 --- a/src/tools/subscription.rs +++ b/src/tools/subscription.rs @@ -115,7 +115,7 @@ async fn register_subscription( None }; - let mut client = pbs_simple_http(proxy_config); + let client = pbs_simple_http(proxy_config); let uri = "https://shop.proxmox.com/modules/servers/licensing/verify.php"; let query = json_object_to_query(params)?;