Skip to content

Commit 6646df3

Browse files
committed
Nit: simpler function name
Signed-off-by: Ambre Austen Suhamy <ambre@tarides.com>
1 parent 0c6849a commit 6646df3

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

bin/build.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ let build =
198198
an RPC server in the background to schedule the fiber which will
199199
perform the RPC call.
200200
*)
201-
Rpc_common.actually_run_via_rpc
201+
Rpc_common.run_via_rpc
202202
~builder
203203
~common
204204
~config

bin/promotion.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module Apply = struct
6262
let+ () = Fiber.return () in
6363
Diff_promotion.promote_files_registered_in_last_run files_to_promote)
6464
| Error lock_held_by ->
65-
Rpc_common.actually_run_via_rpc
65+
Rpc_common.run_via_rpc
6666
~builder
6767
~common
6868
~config

bin/rpc/rpc_common.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ let wrap_build_outcome_exn ~print_on_success f args () =
108108
]
109109
;;
110110

111-
let actually_run_via_rpc ~builder ~common ~config lock_held_by f args =
111+
let run_via_rpc ~builder ~common ~config lock_held_by f args =
112112
if not (Common.Builder.equal builder Common.Builder.default)
113113
then
114114
User_warning.emit

bin/rpc/rpc_common.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ val wrap_build_outcome_exn
4242
-> unit Fiber.t
4343

4444
(** Schedule a fiber to run via RPC, wrapping any errors. *)
45-
val actually_run_via_rpc
45+
val run_via_rpc
4646
: builder:Common.Builder.t
4747
-> common:Common.t
4848
-> config:Dune_config_file.Dune_config.t

0 commit comments

Comments
 (0)