mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
Remove unneeded encoder reset
We reset the encoder if we are reusing one, and we generate a fresh new one otherwise.
This commit is contained in:
parent
841d223ed2
commit
d3235a1864
1 changed files with 0 additions and 1 deletions
|
|
@ -16,7 +16,6 @@ module Converter = struct
|
|||
in
|
||||
let x = ctor resource in
|
||||
let@ _sc = Self_trace.with_ ~kind:Span.Span_kind_internal "encode-proto" in
|
||||
Pbrt.Encoder.reset encoder;
|
||||
enc x encoder;
|
||||
Pbrt.Encoder.to_string encoder
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue