Skip to content

Commit

Permalink
update parent not just the context...
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBuica committed Jul 23, 2024
1 parent 04dcedb commit eb4c4e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocaml/libs/tracing/tracing.ml
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,8 @@ module Tracer = struct
; ("traceparent.new", SpanContext.to_traceparent new_context)
]
in
let updated_span = {span with context= new_context} in
let updated_span = {span with parent= Some parent} in
let updated_span = {updated_span with context= new_context} in
let updated_span =
{
updated_span with
Expand Down

0 comments on commit eb4c4e5

Please sign in to comment.