Skip to content

Commit 3eb0fd6

Browse files
author
David Scott
committed
Volume.destroy should remove the LV
Signed-off-by: David Scott <dave.scott@citrix.com>
1 parent 3366248 commit 3eb0fd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/volume/org.xen.xcp.storage.plainlvm/Volume.destroy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env ocamlscript
22
Ocaml.sources := ["common.ml"; "lvm.ml"];
3-
Ocaml.packs := ["xapi-storage"; "cmdliner"; "re.str"; "oUnit"];
3+
Ocaml.packs := ["xapi-storage"; "cmdliner"; "re.str"; "oUnit"; "uri"];
44
Ocaml.ocamlflags := ["-thread"]
55
--
66
(*
@@ -23,7 +23,7 @@ module Command = struct
2323
include Volume.Destroy
2424

2525
let command common { Volume.Destroy.In.dbg; sr; key } =
26-
()
26+
Lvm.lvremove sr key
2727
end
2828

2929
module Test = struct

0 commit comments

Comments
 (0)