Skip to content

Commit

Permalink
change the default classloader used to resolve the config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantopo committed Jan 13, 2017
1 parent becf6ca commit c4affa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kamon-core/src/main/scala/kamon/Kamon.scala
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ object Kamon {

def shutdown(): Unit = {
if (started) {
actorSystem.terminate()
actorSystem.shutdown()
}
}

private def defaultConfig = {
patchConfiguration(
ConfigFactory.load(
this.getClass.getClassLoader,
Thread.currentThread().getContextClassLoader(),
ConfigParseOptions.defaults(),
ConfigResolveOptions.defaults().setAllowUnresolved(true)
)
Expand Down

0 comments on commit c4affa4

Please sign in to comment.