Remove unsed method argument (#11538)
This commit is contained in:
parent
8ada04aab7
commit
ab4432c7d9
|
@ -59,9 +59,7 @@ public class GrpcServerBuilderInstrumentation implements TypeInstrumentation {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||||
public static void onExit(
|
public static void onExit(@Advice.Local("otelCallDepth") CallDepth callDepth) {
|
||||||
@Advice.This ServerBuilder<?> serverBuilder,
|
|
||||||
@Advice.Local("otelCallDepth") CallDepth callDepth) {
|
|
||||||
callDepth.decrementAndGet();
|
callDepth.decrementAndGet();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue