[app] S3Throp expects Config as parameter

This commit is contained in:
Paul Campbell 2019-05-06 10:32:16 +01:00
parent d45f590c15
commit b16862ea20

View file

@ -4,9 +4,9 @@ import cats.effect.IO
object S3Thorp { object S3Thorp {
def putStrLn(value: String): IO[Unit] = IO(println(value)) def putStrLn(value: String) = IO { println(value) }
def apply(args: List[String]): IO[Unit] = { def apply(args: Config): IO[Unit] = {
for { for {
_ <- putStrLn("S3Thorp - hashed sync for s3") _ <- putStrLn("S3Thorp - hashed sync for s3")
} yield () } yield ()