Skip to content

Commit

Permalink
Fix for SHOULD_PERSIST_DATA (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
etspaceman authored Jul 6, 2021
1 parent 0fe36f5 commit 169dd64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/kinesis/mock/cache/Cache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ object Cache {
)(implicit C: Concurrent[IO], P: Parallel[IO]): IO[Cache] = {
val om = new ObjectMapper()

IO(os.exists(config.persistConfig.osPath)).ifM(
IO(os.exists(config.persistConfig.osFile)).ifM(
for {
jn <- IO(om.readTree(config.persistConfig.osFile.toIO))
streams <- IO.fromEither(jacksonToCirce(jn).as[Streams])
Expand Down

0 comments on commit 169dd64

Please sign in to comment.