Warnings are success with Warning so should be counted as success
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Umbraco.Web.HealthCheck
|
||||
AllChecksSuccessful = true;
|
||||
foreach (var result in _results)
|
||||
{
|
||||
var checkIsSuccess = result.Value.All(x => x.ResultType == StatusResultType.Success || x.ResultType == StatusResultType.Info);
|
||||
var checkIsSuccess = result.Value.All(x => x.ResultType == StatusResultType.Success || x.ResultType == StatusResultType.Info || x.ResultType == StatusResultType.Warning);
|
||||
if (checkIsSuccess == false)
|
||||
{
|
||||
AllChecksSuccessful = false;
|
||||
|
||||
Reference in New Issue
Block a user