mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
Run the CFU availability check together with the check for the automated updates licence.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
f0952dbc88
commit
63e4ced7fe
@ -142,14 +142,6 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
|||||||
{
|
{
|
||||||
var groups = new List<CheckGroup>();
|
var groups = new List<CheckGroup>();
|
||||||
|
|
||||||
//Check for update file check
|
|
||||||
if (ApplyUpdatesToNewVersion)
|
|
||||||
{
|
|
||||||
var cfuCheck = new List<Check>();
|
|
||||||
cfuCheck.Add(new CfuAvailabilityCheck());
|
|
||||||
groups.Add(new CheckGroup(Messages.CHECKING_CFU_STATUS, cfuCheck));
|
|
||||||
}
|
|
||||||
|
|
||||||
//XenCenter version check (if any of the selected server version is not the latest)
|
//XenCenter version check (if any of the selected server version is not the latest)
|
||||||
var latestCrVersion = Updates.XenServerVersions.FindAll(item => item.LatestCr).OrderByDescending(v => v.Version).FirstOrDefault();
|
var latestCrVersion = Updates.XenServerVersions.FindAll(item => item.LatestCr).OrderByDescending(v => v.Version).FirstOrDefault();
|
||||||
if (latestCrVersion != null &&
|
if (latestCrVersion != null &&
|
||||||
@ -232,6 +224,9 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
|||||||
|
|
||||||
groups.Add(new CheckGroup(Messages.CHECKING_AUTOMATED_UPDATES_LICENSE_STATUS,
|
groups.Add(new CheckGroup(Messages.CHECKING_AUTOMATED_UPDATES_LICENSE_STATUS,
|
||||||
automatedUpdateLicenseChecks));
|
automatedUpdateLicenseChecks));
|
||||||
|
|
||||||
|
var cfuCheck = new List<Check> {new CfuAvailabilityCheck()};
|
||||||
|
groups.Add(new CheckGroup(Messages.CHECKING_CFU_STATUS, cfuCheck));
|
||||||
}
|
}
|
||||||
|
|
||||||
return groups;
|
return groups;
|
||||||
|
Loading…
Reference in New Issue
Block a user