diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2017-11-23 01:31:58 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2017-11-23 01:31:58 +0100 |
commit | a71f5bc53a3c540cb839c3709eb3a114470dbcd4 (patch) | |
tree | ca3a5fdb0fd71e225f9b2bee4665afd726bfadb9 /kamon-testkit/src/main/scala/kamon/testkit | |
parent | d38af7d18a4f68a3048f19209af43243d7412f68 (diff) | |
download | Kamon-a71f5bc53a3c540cb839c3709eb3a114470dbcd4.tar.gz Kamon-a71f5bc53a3c540cb839c3709eb3a114470dbcd4.tar.bz2 Kamon-a71f5bc53a3c540cb839c3709eb3a114470dbcd4.zip |
add support for simple broadcast String keys
Diffstat (limited to 'kamon-testkit/src/main/scala/kamon/testkit')
-rw-r--r-- | kamon-testkit/src/main/scala/kamon/testkit/ContextTesting.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-testkit/src/main/scala/kamon/testkit/ContextTesting.scala b/kamon-testkit/src/main/scala/kamon/testkit/ContextTesting.scala index 3330fe68..9f17dff0 100644 --- a/kamon-testkit/src/main/scala/kamon/testkit/ContextTesting.scala +++ b/kamon-testkit/src/main/scala/kamon/testkit/ContextTesting.scala @@ -19,7 +19,7 @@ import kamon.context.{Context, Key} trait ContextTesting { val StringKey = Key.local[Option[String]]("string-key", None) - val StringBroadcastKey = Key.broadcast[Option[String]]("string-broadcast-key", None) + val StringBroadcastKey = Key.broadcastString("string-broadcast-key") def contextWithLocal(value: String): Context = Context.create(StringKey, Some(value)) |