diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-03-24 23:00:19 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-03-24 23:00:19 +0100 |
commit | 520895a6a9a6b48b83efe01cf289708efd045b42 (patch) | |
tree | f324c1411878bbf735f3a78630e71fd57ffb5550 | |
parent | 97536d1ccc4444d67334a7137d386c4c308836ad (diff) | |
download | Kamon-520895a6a9a6b48b83efe01cf289708efd045b42.tar.gz Kamon-520895a6a9a6b48b83efe01cf289708efd045b42.tar.bz2 Kamon-520895a6a9a6b48b83efe01cf289708efd045b42.zip |
= core: fix compilation issue with ConfigTools.
-rw-r--r-- | kamon-core/src/main/scala/kamon/util/ConfigTools.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-core/src/main/scala/kamon/util/ConfigTools.scala b/kamon-core/src/main/scala/kamon/util/ConfigTools.scala index bcec22c3..483278bf 100644 --- a/kamon-core/src/main/scala/kamon/util/ConfigTools.scala +++ b/kamon-core/src/main/scala/kamon/util/ConfigTools.scala @@ -28,7 +28,7 @@ object ConfigTools { // versions of Akka using older typesafe-config versions. def getFiniteDuration(path: String): FiniteDuration = - FiniteDuration(config.getDuration(path, TimeUnit.NANOSECONDS), TimeUnit.NANOSECONDS) + FiniteDuration(config.getNanoseconds(path), TimeUnit.NANOSECONDS) def firstLevelKeys: Set[String] = { import scala.collection.JavaConverters._ |