Skip to content

Commit f341e13

Browse files
committed
fixup! Simplify Makefile
Signed-off-by: Christian Lindig <[email protected]>
1 parent 82be7c9 commit f341e13

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ all:
2626

2727
# requires odoc
2828
doc:
29-
dun build @doc --profile=$(PROFILE)
29+
dune build @doc --profile=$(PROFILE)
3030

3131
gh-pages:
3232
bash .docgen.sh

storage/storage_test.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ let names = [
5454
*)
5555

5656
let vdi_exists sr vdi =
57-
let all = Client.SR.scan ~dbg ~sr in
57+
let all = Client.SR.scan dbg sr in
5858
List.fold_left (fun acc vdi_info -> acc || (vdi_info.vdi = vdi)) false all
5959

6060
let create sr name_label =
@@ -63,21 +63,21 @@ let create sr name_label =
6363
name_label = safe_prefix ^ "." ^ name_label;
6464
virtual_size = 1000000000L;
6565
} in
66-
let vdi = Client.VDI.create ~dbg ~sr ~vdi_info in
66+
let vdi = Client.VDI.create dbg sr vdi_info in
6767
assert(vdi_exists sr vdi.vdi);
6868
(* Check the disk has size >= the amount we requested *)
6969
assert(vdi.virtual_size >= vdi_info.virtual_size);
7070
vdi
7171

7272
let destroy sr vdi =
73-
Client.VDI.destroy ~dbg ~sr ~vdi:vdi.vdi;
73+
Client.VDI.destroy dbg sr vdi.vdi;
7474
assert(not (vdi_exists sr vdi.vdi))
7575

7676
let test_create_destroy sr n () = destroy sr (create sr n)
7777

7878
let attach_detach sr vdi read_write =
79-
let _ = Client.VDI.attach ~dbg ~dp:dbg ~sr ~vdi:vdi.vdi ~read_write in
80-
Client.VDI.detach ~dbg ~dp:dbg ~sr ~vdi:vdi.vdi
79+
let _ = Client.VDI.attach dbg dbg sr vdi.vdi read_write in
80+
Client.VDI.detach dbg dbg sr vdi.vdi
8181

8282
let test_attach_detach sr n () =
8383
let vdi = create sr n in

0 commit comments

Comments
 (0)