diff --git a/src/client-ocurl-lwt/opentelemetry_client_ocurl_lwt.ml b/src/client-ocurl-lwt/opentelemetry_client_ocurl_lwt.ml index 5bc2fe7a..131d45a3 100644 --- a/src/client-ocurl-lwt/opentelemetry_client_ocurl_lwt.ml +++ b/src/client-ocurl-lwt/opentelemetry_client_ocurl_lwt.ml @@ -23,11 +23,11 @@ module Httpc : Generic_http_consumer.HTTPC with module IO = IO = struct module IO = IO open Lwt.Syntax - type t = Curl.t + type t = Ezcurl_core.t - let create () : t = Ezcurl_core.make () + let create () : t = Ezcurl_lwt.make () - let cleanup self = Ezcurl_core.delete self + let cleanup self = Ezcurl_lwt.delete self (** send the content to the remote endpoint/path *) let send (self : t) ~url ~decode (bod : string) : ('a, error) result Lwt.t = diff --git a/src/client-ocurl/opentelemetry_client_ocurl.ml b/src/client-ocurl/opentelemetry_client_ocurl.ml index 1216666d..f24d0e84 100644 --- a/src/client-ocurl/opentelemetry_client_ocurl.ml +++ b/src/client-ocurl/opentelemetry_client_ocurl.ml @@ -24,7 +24,7 @@ end module Httpc : OTELC.Generic_http_consumer.HTTPC with module IO = IO = struct module IO = IO - type t = Curl.t + type t = Ezcurl_core.t let create () = Ezcurl.make ()