From 857bdffb1aeac99155737924865d1adac724b26c Mon Sep 17 00:00:00 2001 From: Mubelotix Date: Tue, 26 Aug 2025 11:02:47 +0200 Subject: [PATCH] Remove useless parameter --- crates/xtask/src/bench/meili_process.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/xtask/src/bench/meili_process.rs b/crates/xtask/src/bench/meili_process.rs index dc3d98647..a3b4e0f87 100644 --- a/crates/xtask/src/bench/meili_process.rs +++ b/crates/xtask/src/bench/meili_process.rs @@ -87,7 +87,7 @@ pub async fn start( let mut meilisearch = command.spawn().context("Error starting Meilisearch")?; - wait_for_health(client, &mut meilisearch, &workload.assets, asset_folder).await?; + wait_for_health(client, &mut meilisearch, asset_folder).await?; Ok(meilisearch) } @@ -95,11 +95,10 @@ pub async fn start( async fn wait_for_health( client: &Client, meilisearch: &mut tokio::process::Child, - assets: &BTreeMap, asset_folder: &str, ) -> anyhow::Result<()> { for i in 0..100 { - let res = run_command(client, &health_command(), assets, asset_folder, false).await; + let res = run_command(client, &health_command(), &BTreeMap::new(), asset_folder, false).await; if res.is_ok() { // check that this is actually the current Meilisearch instance that answered us if let Some(exit_code) =