Skip to content

Commit

Permalink
Rename Config => AppConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Nov 24, 2023
1 parent 7368f01 commit 4327729
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/scala/App.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object App extends IOApp.Simple:

def app: Resource[IO, Unit] =
for
config <- Resource.eval(Config.load)
config <- Resource.eval(AppConfig.load)
_ <- Resource.eval(KamonInitiator.apply.init(config.kamon))
_ <- FishnetApp(config).run()
yield ()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ciris.http4s.*
import com.comcast.ip4s.*
import cats.effect.IO

object Config:
object AppConfig:

def load: IO[AppConfig] = appConfig.load[IO]

Expand Down

0 comments on commit 4327729

Please sign in to comment.