mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
[CA-223486] Only add the check for hosts that it applies to, instead of all selected ones.
This avoids unnecessary checks where we are upgrading multiple pools from different versions. Also made the same change for the unrelated pre-Clearwater only checks which had the same issue. Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
This commit is contained in:
parent
0ba1e5c6df
commit
299ed430cc
@ -204,7 +204,8 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
||||
checkGroup = checks[checks.Count - 1].Value;
|
||||
foreach (Host host in SelectedServers)
|
||||
{
|
||||
checkGroup.Add(new HostHasUnsupportedStorageLinkSRCheck(host));
|
||||
if(!Helpers.CreedenceOrGreater(host))
|
||||
checkGroup.Add(new HostHasUnsupportedStorageLinkSRCheck(host));
|
||||
}
|
||||
}
|
||||
|
||||
@ -219,7 +220,8 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
||||
checkGroup = checks[checks.Count - 1].Value;
|
||||
foreach (Host host in SelectedServers)
|
||||
{
|
||||
checkGroup.Add(new UpgradingFromTampaAndOlderCheck(host));
|
||||
if(!Helpers.ClearwaterOrGreater(host))
|
||||
checkGroup.Add(new UpgradingFromTampaAndOlderCheck(host));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user