mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
CP-41573: Do not attempt problem reversion if SolutionAction.Connection
is null
Applies to newly added EUA presence problem Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
parent
594db56b6a
commit
1e78d6964b
@ -175,7 +175,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
//add a revert pre-check action for this pool
|
//add a revert pre-check action for this pool
|
||||||
var curPool = pool;
|
var curPool = pool;
|
||||||
var problemsToRevert = PrecheckProblemsActuallyResolved.Where(a =>
|
var problemsToRevert = PrecheckProblemsActuallyResolved.Where(a =>
|
||||||
a.SolutionAction != null && Helpers.GetPoolOfOne(a.SolutionAction.Connection).Equals(curPool)).ToList();
|
curPool.Equals(Helpers.GetPoolOfOne(a.SolutionAction?.Connection))).ToList();
|
||||||
|
|
||||||
if (problemsToRevert.Count > 0)
|
if (problemsToRevert.Count > 0)
|
||||||
finalActions.Add(new UnwindProblemsAction(problemsToRevert, pool.Connection));
|
finalActions.Add(new UnwindProblemsAction(problemsToRevert, pool.Connection));
|
||||||
|
Loading…
Reference in New Issue
Block a user