diff --git a/src/Digdir.Library.Utils.AspNet/HealthChecks/EndpointsHealthCheck.cs b/src/Digdir.Library.Utils.AspNet/HealthChecks/EndpointsHealthCheck.cs index a4f815a60..98e7567ee 100644 --- a/src/Digdir.Library.Utils.AspNet/HealthChecks/EndpointsHealthCheck.cs +++ b/src/Digdir.Library.Utils.AspNet/HealthChecks/EndpointsHealthCheck.cs @@ -25,8 +25,7 @@ public async Task CheckHealthAsync( HealthCheckContext context, CancellationToken cancellationToken = default) { - // TODO: Denne har en sterk avhengighet på infrastruktur registreringen. Fiks - var client = _httpClientFactory.CreateClient("HealthCheckClient"); + var client = _httpClientFactory.CreateClient(); var unhealthyEndpoints = new ConcurrentBag(); var tasks = _endpoints.Select(async url =>