We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5492c14 commit 3045e63Copy full SHA for 3045e63
ocaml/xapi/storage_smapiv1_migrate.ml
@@ -279,6 +279,8 @@ module Copy = struct
279
(* PR-1255: XXX: this is useful because we don't have content_ids by default *)
280
D.debug "setting local content_id <- %s" local_vdi.content_id ;
281
Local.VDI.set_content_id dbg sr local_vdi.vdi local_vdi.content_id ;
282
+ (* Re-find the VDI to get the updated content_id info *)
283
+ let remote_vdi = find_vdi ~dbg ~sr:dest ~vdi:dest_vdi (module Remote) in
284
Some (Vdi_info remote_vdi)
285
with e ->
286
D.error "Caught %s: performing cleanup actions" (Printexc.to_string e) ;
0 commit comments