From 6e8bdd4db3761174efc38e994eb63e185b97d9aa Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Mon, 24 Jan 2022 23:53:58 +0200 Subject: [PATCH] add generics --- .../reactor/KotlinMonoCoroutineInstrumentation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/kotlinx-coroutines/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kotlinxcoroutines/reactor/KotlinMonoCoroutineInstrumentation.java b/instrumentation/kotlinx-coroutines/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kotlinxcoroutines/reactor/KotlinMonoCoroutineInstrumentation.java index b6b52f30fc81..f6e6661a5432 100644 --- a/instrumentation/kotlinx-coroutines/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kotlinxcoroutines/reactor/KotlinMonoCoroutineInstrumentation.java +++ b/instrumentation/kotlinx-coroutines/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kotlinxcoroutines/reactor/KotlinMonoCoroutineInstrumentation.java @@ -44,7 +44,7 @@ public static class MonoCoroutineAdvice { @Advice.OnMethodEnter public static void enter( @Advice.Argument(value = 0, readOnly = false) CoroutineContext coroutineContext, - @Advice.Argument(1) MonoSink monoSink) { + @Advice.Argument(1) MonoSink monoSink) { Context context = ContextPropagationOperator.getOpenTelemetryContext( monoSink.currentContext(), Java8BytecodeBridge.currentContext());