diff options
author | Diego <diegolparra@gmail.com> | 2015-08-27 22:25:40 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2015-08-27 22:25:40 -0300 |
commit | 0e501590138d4b74665f653a4ce8112e1b4a7886 (patch) | |
tree | 4304e615bf4efc9e22d524a2497645111349f3ce /kamon-core/src/main/scala/kamon/trace | |
parent | aa1c38de58d692f90275867fdfda437b99bd8dcc (diff) | |
download | Kamon-0e501590138d4b74665f653a4ce8112e1b4a7886.tar.gz Kamon-0e501590138d4b74665f653a4ce8112e1b4a7886.tar.bz2 Kamon-0e501590138d4b74665f653a4ce8112e1b4a7886.zip |
= akka-remote: add @transient to kamon.trace.SegmentAware::segment to avoid error in chill/kryo serialization and closes #160
Diffstat (limited to 'kamon-core/src/main/scala/kamon/trace')
-rw-r--r-- | kamon-core/src/main/scala/kamon/trace/TraceContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-core/src/main/scala/kamon/trace/TraceContext.scala b/kamon-core/src/main/scala/kamon/trace/TraceContext.scala index 1bd72089..9642233a 100644 --- a/kamon-core/src/main/scala/kamon/trace/TraceContext.scala +++ b/kamon-core/src/main/scala/kamon/trace/TraceContext.scala @@ -158,7 +158,7 @@ object TimestampedTraceContextAware { } trait SegmentAware { - @volatile var segment: Segment = EmptyTraceContext.EmptySegment + @volatile @transient var segment: Segment = EmptyTraceContext.EmptySegment } object SegmentAware { |