mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix migrate root volume issue caused by regression from one of the commits
This commit is contained in:
parent
9dd1d60db9
commit
db46a7ab21
@ -2641,7 +2641,7 @@ public class VirtualMachineMO extends BaseMO {
|
||||
VirtualDeviceBackingInfo backingInfo = ((VirtualDisk)device).getBacking();
|
||||
if (backingInfo instanceof VirtualDiskFlatVer2BackingInfo) {
|
||||
VirtualDiskFlatVer2BackingInfo diskBackingInfo = (VirtualDiskFlatVer2BackingInfo)backingInfo;
|
||||
disks.add(new Pair<Integer, ManagedObjectReference>(new Integer(device.getUnitNumber()), diskBackingInfo.getDatastore()));
|
||||
disks.add(new Pair<Integer, ManagedObjectReference>(new Integer(device.getKey()), diskBackingInfo.getDatastore()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user