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.
1 parent ed88c15 commit 736c4abCopy full SHA for 736c4ab
ocaml/xapi/xapi_vm_migrate.ml
@@ -74,7 +74,7 @@ let assert_sr_support_migration ~__context ~vdi_map ~remote_rpc ~session_id =
74
| [ _, plugin ] -> plugin.API.sM_capabilities
75
| _ -> []
76
in
77
- if not (List.exists (fun cp -> cp = "Vdi_snapshot") sm_capabilities) then
+ if not (List.exists (fun cp -> cp = Smint.(string_of_capability Vdi_snapshot)) sm_capabilities) then
78
raise (Api_errors.Server_error(Api_errors.sr_does_not_support_migration, [Ref.string_of sr]))
79
) vdi_map
80
0 commit comments