mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Merge pull request #1390 from GaborApatiNagy/master_CA-238993
CA-238993: Fixed: forever growing updates list while new or updated metadata was not shown
This commit is contained in:
commit
02c228ca85
@ -258,17 +258,13 @@ namespace XenAdmin.Core
|
||||
{
|
||||
lock (downloadedUpdatesLock)
|
||||
{
|
||||
var xcvs = action.XenCenterVersions.Where(v => !XenCenterVersions.Contains(v));
|
||||
XenCenterVersions.AddRange(xcvs);
|
||||
XenCenterVersions = action.XenCenterVersions;
|
||||
|
||||
var versForAutoCheck = action.XenServerVersionsForAutoCheck.Where(v => !XenServerVersionsForAutoCheck.Contains(v));
|
||||
XenServerVersionsForAutoCheck.AddRange(versForAutoCheck);
|
||||
XenServerVersionsForAutoCheck = action.XenServerVersionsForAutoCheck;
|
||||
|
||||
var vers = action.XenServerVersions.Where(v => !XenServerVersions.Contains(v));
|
||||
XenServerVersions.AddRange(vers);
|
||||
XenServerVersions = action.XenServerVersions;
|
||||
|
||||
var patches = action.XenServerPatches.Where(p => !XenServerPatches.Contains(p));
|
||||
XenServerPatches.AddRange(patches);
|
||||
XenServerPatches = action.XenServerPatches;
|
||||
}
|
||||
|
||||
var xenCenterAlert = NewXenCenterUpdateAlert(XenCenterVersions, Program.Version);
|
||||
|
Loading…
Reference in New Issue
Block a user