diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-04 03:22:20 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-04 03:22:20 +0100 |
commit | 3b063022d5c18418f9da82482311c67d486727d4 (patch) | |
tree | 276774baff16e2ef42d62a1fd6e4362f1f26e4ae /kamon-spray/src/main/scala/spray/can/server | |
parent | d4de68cc71b66866b763dd356783e49edd893909 (diff) | |
parent | 0858ddfc94853e603975712c16f6945c01288f9a (diff) | |
download | Kamon-3b063022d5c18418f9da82482311c67d486727d4.tar.gz Kamon-3b063022d5c18418f9da82482311c67d486727d4.tar.bz2 Kamon-3b063022d5c18418f9da82482311c67d486727d4.zip |
Merge branch 'wip/simple-tracing-implementation'
Diffstat (limited to 'kamon-spray/src/main/scala/spray/can/server')
-rw-r--r-- | kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala b/kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala index 2bdd96e7..1ae4ad80 100644 --- a/kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala +++ b/kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala @@ -70,7 +70,7 @@ class ServerRequestInstrumentation { val storedContext = openRequest.traceContext // The stored context is always a DefaultTraceContext if the instrumentation is running - val system = storedContext.asInstanceOf[DefaultTraceContext].system + val system = storedContext.system verifyTraceContextConsistency(incomingContext, storedContext, system) |