diff options
Diffstat (limited to 'kamon-core/src/test/scala/kamon/testkit')
-rw-r--r-- | kamon-core/src/test/scala/kamon/testkit/SpanInspector.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kamon-core/src/test/scala/kamon/testkit/SpanInspector.scala b/kamon-core/src/test/scala/kamon/testkit/SpanInspector.scala index e00c8b26..ab58e446 100644 --- a/kamon-core/src/test/scala/kamon/testkit/SpanInspector.scala +++ b/kamon-core/src/test/scala/kamon/testkit/SpanInspector.scala @@ -1,6 +1,6 @@ package kamon.testkit -import kamon.trace.{ActiveSpan, Span, SpanContext} +import kamon.trace.{Span, SpanContext} import kamon.trace.Span.FinishedSpan import kamon.util.Clock @@ -11,8 +11,6 @@ class SpanInspector(span: Span) { private val (realSpan, spanData) = Try { val realSpan = span match { case _: Span.Real => span - case a: ActiveSpan => - getField[ActiveSpan.Default, Span](a, "wrappedSpan") } val spanData = invoke[Span.Real, FinishedSpan](realSpan, "toFinishedSpan", classOf[Long] -> Long.box(Clock.microTimestamp())) |