Skip to content

Commit

Permalink
Remove redundant Zendesk health check (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Jan 24, 2024
1 parent 2af9b59 commit b29ef63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Microsoft.Extensions.Diagnostics.HealthChecks;
using ZendeskApi.Client;
using ZendeskApi.Client.Options;

Expand All @@ -24,14 +23,6 @@ public static IServiceCollection AddZendesk(
services.AddScoped<IZendeskClient, ZendeskClient>();
services.AddScoped<IZendeskApiClient, ZendeskApiClientFactory>();
services.AddScoped<IZendeskApiWrapper, ZendeskApiWrapper>();
services.AddTransient<ZendeskHealthCheck>();

services.AddHealthChecks().Add(
new HealthCheckRegistration(
"Zendesk",
sp => sp.GetRequiredService<ZendeskHealthCheck>(),
HealthStatus.Unhealthy,
tags: null));
}
}

Expand Down

This file was deleted.

0 comments on commit b29ef63

Please sign in to comment.