diff options
Diffstat (limited to 'kamon-spray/src/main/scala/kamon')
-rw-r--r-- | kamon-spray/src/main/scala/kamon/spray/KamonTraceDirectives.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-spray/src/main/scala/kamon/spray/KamonTraceDirectives.scala b/kamon-spray/src/main/scala/kamon/spray/KamonTraceDirectives.scala index e831af7b..fbbbfa01 100644 --- a/kamon-spray/src/main/scala/kamon/spray/KamonTraceDirectives.scala +++ b/kamon-spray/src/main/scala/kamon/spray/KamonTraceDirectives.scala @@ -25,7 +25,7 @@ import shapeless.HNil import kamon.trace.TraceRecorder trait KamonTraceDirectives extends BasicDirectives { - def traceName(name: String): Directive0 = mapRequest { req => + def traceName(name: String): Directive0 = mapRequest { req ⇒ TraceRecorder.rename(name) req } |