mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
vmware: Fix worker VM numeric invalid value (#5032)
This commit is contained in:
parent
b0cb087bd0
commit
86508b7a31
@ -2280,7 +2280,7 @@ public class HypervisorHostHelper {
|
||||
Integer host1Version = getHostHardwareVersion(host1);
|
||||
Integer host2Version = getHostHardwareVersion(host2);
|
||||
if (host1Version != null && host2Version != null && !host1Version.equals(host2Version)) {
|
||||
hardwareVersion = String.valueOf(Math.min(host1Version, host2Version));
|
||||
hardwareVersion = VirtualMachineMO.getVmxFormattedVirtualHardwareVersion(Math.min(host1Version, host2Version));
|
||||
}
|
||||
}
|
||||
return hardwareVersion;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user