On Thursday, 22 March 2018 16:24:22 CET Richard W.M. Jones wrote:
---
v2v/cmdline.ml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
index 70e9a3c3b..6aecd2aee 100644
--- a/v2v/cmdline.ml
+++ b/v2v/cmdline.ml
@@ -48,6 +48,8 @@ type cmdline = {
root_choice : root_choice;
}
+let ovf_flavours_str = String.concat "|" Create_ovf.ovf_flavours
+
let parse_cmdline () =
let compressed = ref false in
let debug_overlays = ref false in
@@ -83,7 +85,6 @@ let parse_cmdline () =
let set_vdsm_compat s = vdsm_compat := s in
let vdsm_ovf_flavour = ref Create_ovf.RHVExportStorageDomain in
- let ovf_flavours_str = String.concat "|" Create_ovf.ovf_flavours in
let set_vdsm_ovf_flavour arg =
vdsm_ovf_flavour := Create_ovf.ovf_flavour_of_string arg in
Is it really used as global variable?
--
Pino Toscano