Skip to content

Commit

Permalink
Fix to fix config loading
Browse files Browse the repository at this point in the history
  • Loading branch information
istreeter authored and pondzix committed Aug 21, 2023
1 parent 503fbc4 commit bf461b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http4s/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
collector {
{
paths {}

p3p {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object ConfigParser {
}

private def loadAll(config: TypesafeConfig): TypesafeConfig =
namespaced(config.withFallback(namespaced(ConfigFactory.load())))
namespaced(ConfigFactory.load(namespaced(config.withFallback(namespaced(ConfigFactory.load())))))

private def namespaced(config: TypesafeConfig): TypesafeConfig = {
val namespace = "collector"
Expand Down

0 comments on commit bf461b5

Please sign in to comment.