Skip to content

Commit

Permalink
Update src/Digdir.Domain.Dialogporten.Infrastructure/HealthChecks/Wel…
Browse files Browse the repository at this point in the history
…lKnownHealthChecks.cs
  • Loading branch information
oskogstad authored Oct 1, 2024
1 parent edb9f93 commit e9322f1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public WellKnownEndpointsHealthCheck(
ILogger<WellKnownEndpointsHealthCheck> logger,
IConfiguration configuration)
{
_httpClientFactory = httpClientFactory;
_logger = logger;
_configuration = configuration;
_httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
_logger = logger ?? throw new ArgumentNullException(nameof(logger));
_configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
}

public async Task<HealthCheckResult> CheckHealthAsync(
Expand Down

0 comments on commit e9322f1

Please sign in to comment.