diff --git a/Cluster/coordinator/src/deal_with_nodes.rs b/Cluster/coordinator/src/deal_with_nodes.rs index d649d4d..29bb3a6 100644 --- a/Cluster/coordinator/src/deal_with_nodes.rs +++ b/Cluster/coordinator/src/deal_with_nodes.rs @@ -30,7 +30,7 @@ pub async fn redistribute_values(data: Arc, hash_value: u1 let url = format!("http://{}:5552/deleteSavedValuesBelow/{}", node_to_distribute_from.name, hash_value.to_string()); println!("URL: {}", url); //If trying to deal with nonexistent or non-responding node, edit here! - response = awc::Client::default().post(url).send().await; + response = awc::Client::new().post(url).send().await; if response.is_ok(){ break; }else{