From 7da588acfd5bc21fdef2c8c054529d52766a71be Mon Sep 17 00:00:00 2001 From: trinity-1686a Date: Thu, 29 Aug 2024 16:51:55 +0200 Subject: [PATCH] clippy --- .../quickwit-metastore/src/metastore/postgres/migrator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickwit/quickwit-metastore/src/metastore/postgres/migrator.rs b/quickwit/quickwit-metastore/src/metastore/postgres/migrator.rs index 02abe325d4a..556c390ee38 100644 --- a/quickwit/quickwit-metastore/src/metastore/postgres/migrator.rs +++ b/quickwit/quickwit-metastore/src/metastore/postgres/migrator.rs @@ -210,13 +210,13 @@ mod tests { .unwrap(); let mut conn = connection_pool.acquire().await.unwrap(); - conn.revert(&down_migration).await.unwrap(); + conn.revert(down_migration).await.unwrap(); run_migrations(&connection_pool, true, false) .await .unwrap_err(); - conn.apply(&up_migration).await.unwrap(); + conn.apply(up_migration).await.unwrap(); } {