mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 23:10:16 +01:00
Merging (upstream) master into REQ-156 branch caused a build error:
Fixed build error that was caused by changed visibility of a method. Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
994f5b4811
commit
66be637878
@ -70,8 +70,13 @@ namespace XenAdmin.Wizards.PatchingWizard.PlanActions
|
||||
try
|
||||
{
|
||||
var check = new PatchPrecheckCheck(host, mapping.Pool_patch);
|
||||
var problem = check.RunCheck();
|
||||
|
||||
var problems = check.RunAllChecks();
|
||||
|
||||
Diagnostics.Problems.Problem problem = null;
|
||||
|
||||
if (problems != null && problems.Count > 0)
|
||||
problem = problems[0];
|
||||
|
||||
if (problem != null)
|
||||
{
|
||||
throw new Exception(string.Format("{0}: {1}. {2}", host, problem.Title, problem.Description));
|
||||
|
Loading…
Reference in New Issue
Block a user