Skip to content

Commit

Permalink
HACK: failwith rather than using an SR!
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 Feb 16, 2016
1 parent 0111571 commit eaac32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xapi/import.ml
Expand Up @@ -257,7 +257,7 @@ let assert_can_live_import __context rpc session_id state vm_record =
List.assoc Constants.storage_migrate_vif_map_key vif.API.vIF_other_config
|> Ref.of_string
with Not_found ->
Importexport.get_default_sr rpc session_id)
failwith "no VIF mapped")
|> Listext.List.setify
in
let ha_vm = Agility.HA_VM.Not_in_db (localhost, srs, networks, vm_record) in
Expand Down

0 comments on commit eaac32b

Please sign in to comment.