Skip to content

Commit 0824caf

Browse files
committed
FIXUP: split openSession
1 parent 5e7cf18 commit 0824caf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Database/LSMTree/Internal/Unsafe.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ restoreSession tr hfs hbio dir = do
515515
(Text.pack "Session directory is empty")
516516
(FS.mkFsErrorPath hfs dir)
517517

518-
-- If the layouts are wrong, we throw an exception
518+
-- If the layouts are wrong, we throw an exception
519519
checkTopLevelDirLayout
520520

521521
salt <-
@@ -567,7 +567,7 @@ restoreSession tr hfs hbio dir = do
567567
contents <- FS.listDirectory hfs activeDirPath
568568
unless (Set.null contents) $ throwIO $
569569
ErrSessionDirCorrupted
570-
(Text.pack "Active irectory is non-empty")
570+
(Text.pack "Active directory is non-empty")
571571
(FS.mkFsErrorPath hfs activeDirPath)
572572

573573
-- Nothing to check: snapshots are verified when they are loaded, not when a

0 commit comments

Comments
 (0)