Skip to content

Commit f772b0d

Browse files
committed
Fix typo
1 parent 5b131e9 commit f772b0d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cardano-chain-gen/test/Test/Cardano/Db/Mock/Config.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ withFullConfig' WithConfigArgs {..} cmdLineArgs mSyncNodeConfig configFilePath t
575575
-- we dont fork dbsync here. Just prepare it as an action
576576
withDBSyncEnv (mkDBSyncEnv dbsyncParams syncNodeConfig partialDbSyncRun) $ \dbSyncEnv -> do
577577
let pgPass = getDBSyncPGPass dbSyncEnv
578-
tableNames <- DB.getAllTablleNames pgPass
578+
tableNames <- DB.getAllTableNames pgPass
579579
-- We only want to create the table schema once for the tests so here we check
580580
-- if there are any table names.
581581
if null tableNames || shouldDropDB

cardano-db/src/Cardano/Db/Migration.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module Cardano.Db.Migration (
1111
getMigrationScripts,
1212
runMigrations,
1313
recreateDB,
14-
getAllTablleNames,
14+
getAllTableNames,
1515
truncateTables,
1616
dropTables,
1717
getMaintenancePsqlConf,
@@ -298,8 +298,8 @@ recreateDB pgpass = do
298298
rawExecute "drop schema if exists public cascade" []
299299
rawExecute "create schema public" []
300300

301-
getAllTablleNames :: PGPassSource -> IO [Text]
302-
getAllTablleNames pgpass = do
301+
getAllTableNames :: PGPassSource -> IO [Text]
302+
getAllTableNames pgpass = do
303303
runWithConnectionNoLogging pgpass $ do
304304
fmap unSingle <$> rawSql "SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname = current_schema()" []
305305

0 commit comments

Comments
 (0)