Remove unsed method argument (#11538)

This commit is contained in:
Lauri Tulmin 2024-06-07 14:50:24 +03:00 committed by GitHub
parent 8ada04aab7
commit ab4432c7d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -59,9 +59,7 @@ public class GrpcServerBuilderInstrumentation implements TypeInstrumentation {
}
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
public static void onExit(
@Advice.This ServerBuilder<?> serverBuilder,
@Advice.Local("otelCallDepth") CallDepth callDepth) {
public static void onExit(@Advice.Local("otelCallDepth") CallDepth callDepth) {
callDepth.decrementAndGet();
}
}