Merge pull request #1160 from GaborApatiNagy/master_CA-220599

CA-220599: Supplemental Pack installed via XenCenter does not get listed in updates box
This commit is contained in:
Mihaela Stoica 2016-09-13 10:11:47 +01:00 committed by GitHub
commit 4f46345b96

View File

@ -179,7 +179,7 @@ namespace XenAdmin.Wizards.PatchingWizard
List<Host> poolHosts = new List<Host>(pool.Connection.Cache.Hosts);
Host master = SelectedServers.Find(host => host.IsMaster() && poolHosts.Contains(host));
if (master != null && poolPatch != null && poolPatch.AppliedOn(master) == DateTime.MaxValue)
if (master != null && (poolPatch == null || poolPatch.AppliedOn(master) == DateTime.MaxValue))
planActions.AddRange(CompileActionList(master, poolPatch));
foreach (Host server in SelectedServers)
{