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
1ac44c4dd8
commit
98cf8fbdbc
1 changed files with 2 additions and 4 deletions
|
|
@ -40,10 +40,8 @@ let add_global_attribute (key : string) (v : Value.t) : unit =
|
|||
|
||||
(* add global attributes to this list *)
|
||||
let merge_global_attributes_ into : _ list =
|
||||
let not_redundant kv =
|
||||
List.for_all Key_value.(fun kv' -> kv.key <> kv'.key) into
|
||||
in
|
||||
List.rev_append Key_value.(List.filter not_redundant !global_attributes) into
|
||||
let not_redundant kv = List.for_all (fun kv' -> kv.key <> kv'.key) into in
|
||||
List.rev_append (List.filter not_redundant !global_attributes) into
|
||||
|
||||
(** Default span kind in {!Span.create}. This will be used in all spans that do
|
||||
not specify [~kind] explicitly; it is set to "internal", following
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue