mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-249084: Fix code for new build number format
fixed by removing checks that are no longer needed Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
1abf9bf525
commit
55f17d416b
@ -332,8 +332,7 @@ namespace XenAdmin.Wizards.DRWizards
|
||||
|
||||
Host master = Helpers.GetMaster(Connection);
|
||||
|
||||
if (master != null && (Helpers.HostBuildNumber(master) >= 9633
|
||||
|| Helpers.HostBuildNumber(master) == Helpers.CUSTOM_BUILD_NUMBER))
|
||||
if (master != null)
|
||||
{
|
||||
dconf[SrProbeAction.SCSIid] = device.SCSIid;
|
||||
}
|
||||
|
@ -62,8 +62,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages
|
||||
|
||||
// CA-19025: Change XenCenter SR.create for LVMoHBA to use the
|
||||
// updated SCSIid parameter rather than the device path
|
||||
if (master != null && (Helpers.HostBuildNumber(master) >= 9633
|
||||
|| Helpers.HostBuildNumber(master) == Helpers.CUSTOM_BUILD_NUMBER))
|
||||
if (master != null)
|
||||
{
|
||||
DeviceConfig[SrProbeAction.SCSIid] = device.SCSIid;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user