Skip to content

Commit ab4432c

Browse files
authored
Remove unsed method argument (#11538)
1 parent 8ada04a commit ab4432c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

instrumentation/grpc-1.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/grpc/v1_6/GrpcServerBuilderInstrumentation.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ public static void onEnter(
5959
}
6060

6161
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
62-
public static void onExit(
63-
@Advice.This ServerBuilder<?> serverBuilder,
64-
@Advice.Local("otelCallDepth") CallDepth callDepth) {
62+
public static void onExit(@Advice.Local("otelCallDepth") CallDepth callDepth) {
6563
callDepth.decrementAndGet();
6664
}
6765
}

0 commit comments

Comments
 (0)