aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Topolnak <ivantopo@gmail.com>2013-11-11 17:07:42 -0300
committerIvan Topolnak <ivantopo@gmail.com>2013-11-11 17:07:42 -0300
commit777ad06ea31f8e1508ded4332b7152c0cd182146 (patch)
tree095379f54b5418d491a0128bc25741f3a4bb48e5
parent2c8f103b29bb69c27bf5e00b50a7391ae8cc687e (diff)
downloadKamon-777ad06ea31f8e1508ded4332b7152c0cd182146.tar.gz
Kamon-777ad06ea31f8e1508ded4332b7152c0cd182146.tar.bz2
Kamon-777ad06ea31f8e1508ded4332b7152c0cd182146.zip
Missing UOW setting in UowDirectives
-rw-r--r--kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala3
-rw-r--r--project/Settings.scala2
2 files changed, 2 insertions, 3 deletions
diff --git a/kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala b/kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala
index 6f913a67..685388df 100644
--- a/kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala
+++ b/kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala
@@ -13,8 +13,7 @@ trait UowDirectives extends BasicDirectives {
val generatedUow = uowHeader.map(_.value).getOrElse(UowDirectives.newUow)
// TODO: Tracer will always have a context at this point, just rename the uow.
- //Tracer.set(Tracer.context().getOrElse(Tracer.newTraceContext()).copy(uow = generatedUow))
-
+ Trace.set(Trace.context().getOrElse(Trace.newTraceContext()).copy(uow = generatedUow))
request
}
}
diff --git a/project/Settings.scala b/project/Settings.scala
index 51bb7ef6..e1fcb229 100644
--- a/project/Settings.scala
+++ b/project/Settings.scala
@@ -3,7 +3,7 @@ import Keys._
import spray.revolver.RevolverPlugin.Revolver
object Settings {
- val VERSION = "0.0.9"
+ val VERSION = "0.0.10"
lazy val basicSettings = seq(
version := VERSION,