Skip to content

Commit 65f6222

Browse files
committed
Use the new scan2
Signed-off-by: Vincent Liu <[email protected]>
1 parent 9ee6a57 commit 65f6222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/storage_mux.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ module Mux = struct
373373
) ;
374374
Server_helpers.exec_with_new_task "SR.update_snapshot_info_dest"
375375
~subtask_of:(Ref.of_string dbg) (fun __context ->
376-
let local_vdis = scan () ~dbg ~sr in
376+
let local_vdis, _ = scan2 () ~dbg ~sr in
377377
let find_sm_vdi ~vdi ~vdi_info_list =
378378
try List.find (fun x -> x.vdi = vdi) vdi_info_list
379379
with Not_found ->

0 commit comments

Comments
 (0)