Skip to content

Commit

Permalink
Rename parameter to clarify its usage
Browse files Browse the repository at this point in the history
  • Loading branch information
supersven committed Dec 18, 2024
1 parent a9e53f4 commit 9eb29d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/brig/test/integration/API/Search.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9eb29d4

Please sign in to comment.