From 9eb29d44ae21b950ef8543ec3ec2d1c7c8dac33b Mon Sep 17 00:00:00 2001 From: Sven Tennie Date: Wed, 18 Dec 2024 14:22:22 +0100 Subject: [PATCH] Rename parameter to clarify its usage --- services/brig/test/integration/API/Search.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/brig/test/integration/API/Search.hs b/services/brig/test/integration/API/Search.hs index 44ea01d712d..feb91c2ea37 100644 --- a/services/brig/test/integration/API/Search.hs +++ b/services/brig/test/integration/API/Search.hs @@ -626,7 +626,7 @@ testMigrationToNewIndex :: Brig -> (Log.Logger -> Opt.Opts -> ES.IndexName -> IO ()) -> m () -testMigrationToNewIndex opts brig reindexCommand = do +testMigrationToNewIndex opts brig migrateIndexCommand = do withOldESProxy opts $ \oldESUrl oldESIndex -> do let optsOldIndex = opts @@ -673,7 +673,7 @@ testMigrationToNewIndex opts brig reindexCommand = do logger <- Log.create Log.StdOut liftIO $ do createCommand logger opts oldIndexName - reindexCommand logger opts oldIndexName + migrateIndexCommand logger opts oldIndexName -- Phase 3: Using old index for search, writing to both indices, migrations have run refreshIndex brig