Skip to content

Commit 6296283

Browse files
kape1395adamchol
authored andcommitted
Make it compiling with H2 v0.13.0.
Signed-off-by: Karolis Petrauskas <[email protected]>
1 parent b71fba7 commit 6296283

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/grpc-async/connection.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ let grpc_send_streaming request encoder_stream status_mvar =
3535
Async.Pipe.iter encoder_stream ~f:(fun input ->
3636
let payload = Grpc.Message.make input in
3737
H2.Body.Writer.write_string body payload;
38-
H2.Body.Writer.flush body (fun () -> ());
38+
H2.Body.Writer.flush body (fun _ -> ());
3939
return ())
4040
in
4141
let%map status = Async.Mvar.take status_mvar in

lib/grpc-eio/connection.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let grpc_send_streaming request encoder_stream status_promise =
2929
(fun input ->
3030
let payload = Grpc.Message.make input in
3131
H2.Body.Writer.write_string body payload;
32-
H2.Body.Writer.flush body (fun () -> ()))
32+
H2.Body.Writer.flush body (fun _ -> ()))
3333
encoder_stream;
3434
let status = Eio.Promise.await status_promise in
3535
H2.Reqd.schedule_trailers request

lib/grpc-lwt/connection.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ let grpc_send_streaming request encoder_stream status_mvar =
3535
(fun input ->
3636
let payload = Grpc.Message.make input in
3737
H2.Body.Writer.write_string body payload;
38-
H2.Body.Writer.flush body (fun () -> ()))
38+
H2.Body.Writer.flush body (fun _ -> ()))
3939
encoder_stream
4040
in
4141
let+ status = Lwt_mvar.take status_mvar in

0 commit comments

Comments
 (0)