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:
Gabor Apati-Nagy 2017-04-11 11:05:48 +01:00
parent 1abf9bf525
commit 55f17d416b
2 changed files with 2 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}