Skip to content

Commit 123d7f6

Browse files
committed
Merge pull request xapi-project#5 from euanh/djs-fusion
Constants in OCaml should not be all caps #NOTPYTHON
2 parents eba2035 + b507823 commit 123d7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocaml/xapi/xapi_sr.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,9 @@ let update_vdis ~__context ~sr db_vdis vdi_infos =
339339
try Filename.chop_extension vdi.vdi
340340
with Invalid_argument _ -> vdi.vdi in
341341
let ref = Ref.make () in
342-
let UUID_LEN = 36 in
342+
let uuid_len = 36 in
343343
let uuid =
344-
if String.length x == UUID_LEN && Uuid.is_uuid x
344+
if String.length x == uuid_len && Uuid.is_uuid x
345345
then Uuid.of_string x
346346
else Uuid.make_uuid () in
347347

0 commit comments

Comments
 (0)