Skip to content

Commit

Permalink
[4.9.1.0-shapeblue17.2] Fix worker VM HW version numeric value instea…
Browse files Browse the repository at this point in the history
…d of formatted (#46)
  • Loading branch information
nvazquez authored and shwstppr committed Aug 9, 2021
1 parent 7e6d38e commit e694ed9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4029,7 +4029,8 @@ private Answer migrateVolume(MigrateVolumeCommand cmd) {
Integer sourceHardwareVersion = HypervisorHostHelper.getHostHardwareVersion(hyperHost);
Integer destinationHardwareVersion = HypervisorHostHelper.getHostHardwareVersion(dsHost);
if (sourceHardwareVersion != null && destinationHardwareVersion != null && !sourceHardwareVersion.equals(destinationHardwareVersion)) {
hardwareVersion = String.valueOf(Math.min(sourceHardwareVersion, destinationHardwareVersion));
hardwareVersion = VirtualMachineMO.getVmxFormattedVirtualHardwareVersion(
Math.min(sourceHardwareVersion, destinationHardwareVersion));
}
}
s_logger.info("Create worker VM " + vmName);
Expand Down

0 comments on commit e694ed9

Please sign in to comment.