Skip to content

Commit

Permalink
Use correct context when clearing the introduced_by field.
Browse files Browse the repository at this point in the history
Signed-off-by: John Else <john.else@citrix.com>
  • Loading branch information
johnelse committed Mar 24, 2011
1 parent 9a8a86a commit 52dd900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xapi/xapi_dr.ml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let recover_vms ~__context ~vms ~session_to ~force =
Import.complete_import ~__context:__context_to vmrefs;
(* Remove the introduced_by field from any SRs required for VMs. *)
List.iter
(fun vm -> clear_sr_introduced_by ~__context ~vm)
(fun vm -> clear_sr_introduced_by ~__context:__context_to ~vm)
vmrefs;
vmrefs
with e ->
Expand Down

0 comments on commit 52dd900

Please sign in to comment.