diff options
author | Ivan Topolnak <itopolnak@despegar.com> | 2014-02-06 10:23:34 -0300 |
---|---|---|
committer | Ivan Topolnak <itopolnak@despegar.com> | 2014-02-06 10:48:34 -0300 |
commit | 679b0dcb8e715a2e7e3226b05755931453cf510d (patch) | |
tree | b9bd0803ef49cebc736f54862789e5680e09c9e5 /kamon-spray/src/main/scala/kamon/spray/KamonTraceDirectives.scala | |
parent | 522a12c90788c402a364407e146d302e6519a3da (diff) | |
download | Kamon-679b0dcb8e715a2e7e3226b05755931453cf510d.tar.gz Kamon-679b0dcb8e715a2e7e3226b05755931453cf510d.tar.bz2 Kamon-679b0dcb8e715a2e7e3226b05755931453cf510d.zip |
minor cleanup before relasing 0.0.13
Diffstat (limited to 'kamon-spray/src/main/scala/kamon/spray/KamonTraceDirectives.scala')
-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 } |