Skip to content

Commit

Permalink
Merge pull request #98 from MissionCriticalCloud/fix-live-migrate-vm-…
Browse files Browse the repository at this point in the history
…getdisks

Fix live migrate vm getdisks
  • Loading branch information
neubauerf authored Nov 29, 2023
2 parents 5685acb + d95b1b1 commit 487f737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion live_migrate_virtual_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def live_migrate(co, cs, cluster, vm_name, destination_dc, add_affinity_group, i
return False

if not dry_run:
disk_info = source_host.get_disks(vm)
disk_info = source_host.get_disks(vm['instancename'])
for path, disk_info in disk_info.items():
_, path, _, _, size = cs.get_volume_size(path)

Expand Down

0 comments on commit 487f737

Please sign in to comment.