From 709340ab34a2183d38725333b53f8b66795deac0 Mon Sep 17 00:00:00 2001 From: Maksym Ochenashko Date: Tue, 17 Dec 2024 18:02:07 +0200 Subject: [PATCH] Update examples/src/main/scala/PekkoHttpExample.scala Co-authored-by: Marissa | April <7505383+NthPortal@users.noreply.github.com> --- examples/src/main/scala/PekkoHttpExample.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/main/scala/PekkoHttpExample.scala b/examples/src/main/scala/PekkoHttpExample.scala index 14b2919d7..c1379afc9 100644 --- a/examples/src/main/scala/PekkoHttpExample.scala +++ b/examples/src/main/scala/PekkoHttpExample.scala @@ -75,7 +75,7 @@ object PekkoHttpExample extends IOApp.Simple { def run: IO[Unit] = OtelJava.global[IO].flatMap { otelJava => - implicit val local: LocalContext[IO] = otelJava.localContext + import otelJava.localContext otelJava.tracerProvider.get("com.example").flatMap { implicit tracer: Tracer[IO] => createSystem.use { implicit actorSystem: ActorSystem =>