From 1f2e1e4e933c073eb8f7ba9a7907656b49d845e7 Mon Sep 17 00:00:00 2001 From: Jeavon Date: Mon, 26 Jun 2017 15:48:44 +0100 Subject: [PATCH] Warnings are success with Warning so should be counted as success --- src/Umbraco.Web/HealthCheck/HealthCheckResults.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/HealthCheck/HealthCheckResults.cs b/src/Umbraco.Web/HealthCheck/HealthCheckResults.cs index a82f9be8db..03961bced2 100644 --- a/src/Umbraco.Web/HealthCheck/HealthCheckResults.cs +++ b/src/Umbraco.Web/HealthCheck/HealthCheckResults.cs @@ -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;