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:
Gabor Apati-Nagy 2016-06-29 17:56:51 +01:00
parent 994f5b4811
commit 66be637878

View File

@ -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));