Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
arealmaas committed Sep 20, 2024
1 parent 3996060 commit 8889b77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public async Task<HealthCheckResult> CheckHealthAsync(
.Select(section => section.GetValue<string>("WellKnown"))
.ToList();

if (!wellKnownEndpoints.Any())
if (wellKnownEndpoints.Count == 0)
{
_logger.LogWarning("No Well-Known endpoints found in configuration.");
return HealthCheckResult.Unhealthy("No Well-Known endpoints are configured.");
Expand Down

0 comments on commit 8889b77

Please sign in to comment.