mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
fix warning
This commit is contained in:
parent
19c0fac8fd
commit
8d361744ec
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ module Trace = struct
|
|||
|
||||
(** Sync span guard *)
|
||||
let with_ ?trace_state ?service_name ?(attrs = []) ?kind ?trace_id ?parent
|
||||
?scope ?links name (f : Trace.scope -> 'a Lwt.t) : 'a Lwt.t =
|
||||
?scope ?links name (f : Scope.t -> 'a Lwt.t) : 'a Lwt.t =
|
||||
let trace_id =
|
||||
match trace_id, scope with
|
||||
| Some trace_id, _ -> trace_id
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue