mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-27 02:56:01 +01:00
CP-18421: Use host.updates instead of host.patches
Showing relevant Pool_updates instead of Pool_patches on General tab Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
e648868f6e
commit
1750c47de9
@ -1646,8 +1646,16 @@ namespace XenAdmin.TabPages
|
||||
{
|
||||
List<string> result = new List<string>();
|
||||
|
||||
foreach (Pool_patch patch in host.AppliedPatches())
|
||||
result.Add(patch.Name);
|
||||
if (Helpers.ElyOrGreater(host))
|
||||
{
|
||||
foreach (var update in host.AppliedUpdates())
|
||||
result.Add(update.Name);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (Pool_patch patch in host.AppliedPatches())
|
||||
result.Add(patch.Name);
|
||||
}
|
||||
|
||||
result.Sort(StringUtility.NaturalCompare);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user