From 1a0788bac925d9a8df929d4352c25c9d1fab193b Mon Sep 17 00:00:00 2001 From: Pierre Boutillier Date: Wed, 5 Jul 2023 11:57:54 +0200 Subject: [PATCH] Node: conform to cohttp.6 --- src/bin_node/node_run_command.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin_node/node_run_command.ml b/src/bin_node/node_run_command.ml index 2b1ed52beef7..38aa72853fbd 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) -- GitLab