Skip to content

Commit

Permalink
Rename to AddKubernetesDiscoveryService
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerard Godone-Maresca committed Mar 10, 2020
1 parent 6982a02 commit 5d19839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HealthChecks.UI/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static IServiceCollection AddHealthChecksUI(this IServiceCollection servi

if (kubernetesDiscoverySettings.Enabled)
{
services.AddKubernetesServiceDiscovery(kubernetesDiscoverySettings);
services.AddKubernetesDiscoveryService(kubernetesDiscoverySettings);
}

var serviceProvider = services.BuildServiceProvider();
Expand Down Expand Up @@ -147,7 +147,7 @@ await db.Configurations
}
}

static IServiceCollection AddKubernetesServiceDiscovery(this IServiceCollection services, KubernetesDiscoverySettings kubernetesDiscoverySettings)
static IServiceCollection AddKubernetesDiscoveryService(this IServiceCollection services, KubernetesDiscoverySettings kubernetesDiscoverySettings)
{
KubernetesClientConfiguration kubernetesConfig;
if (!string.IsNullOrEmpty(kubernetesDiscoverySettings.ClusterHost) && !string.IsNullOrEmpty(kubernetesDiscoverySettings.Token))
Expand Down

0 comments on commit 5d19839

Please sign in to comment.