Skip to content

Commit 3006752

Browse files
bsideuprobertroeser
authored andcommitted
Use Function.identity() instead of Tracing.traceAsChild() (#22)
Fixes #21
1 parent 1eafd63 commit 3006752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsocket-rpc-protobuf/src/java_plugin/cpp/java_generator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ static void PrintServer(const ServiceDescriptor* service,
10371037

10381038
p->Print(
10391039
*vars,
1040-
"this.$lower_method_name$Trace = $RSocketRpcTracing$.traceAsChild();\n");
1040+
"this.$lower_method_name$Trace = $Function$.identity();\n");
10411041
}
10421042

10431043
// } else tracing not present {

0 commit comments

Comments
 (0)