We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eba2035 + b507823 commit 123d7f6Copy full SHA for 123d7f6
ocaml/xapi/xapi_sr.ml
@@ -339,9 +339,9 @@ let update_vdis ~__context ~sr db_vdis vdi_infos =
339
try Filename.chop_extension vdi.vdi
340
with Invalid_argument _ -> vdi.vdi in
341
let ref = Ref.make () in
342
- let UUID_LEN = 36 in
+ let uuid_len = 36 in
343
let uuid =
344
- if String.length x == UUID_LEN && Uuid.is_uuid x
+ if String.length x == uuid_len && Uuid.is_uuid x
345
then Uuid.of_string x
346
else Uuid.make_uuid () in
347
0 commit comments