diff --git a/src/bin_node/node_run_command.ml b/src/bin_node/node_run_command.ml index 2b1ed52beef7aef71350536675dbeede54bb7f08..38aa72853fbd70cdf5c978a5bf23c51fd94bf560 100644 --- a/src/bin_node/node_run_command.ml +++ b/src/bin_node/node_run_command.ml @@ -421,7 +421,7 @@ let launch_rpc_server ~acl_policy ~media_types (config : Config_file.t) node dir in let callback (conn : Cohttp_lwt_unix.Server.conn) req body = - let path = Cohttp_lwt.Request.uri req |> Uri.path in + let path = Cohttp.Request.uri req |> Uri.path in if path = "/metrics" then let*! response = Metrics_server.callback conn req body in Lwt.return (`Response response)