From 6cd4cf1a7a19b35c87f9c123ecf390b700d4bec8 Mon Sep 17 00:00:00 2001 From: Zhiliang Date: Mon, 27 Aug 2018 17:25:47 +0800 Subject: [PATCH] Fix typos in samples --- samples/HealthChecksSample/LivenessProbeStartup.cs | 2 +- samples/HealthChecksSample/ManagementPortStartup.cs | 2 +- samples/HealthChecksSample/SlowDependencyHealthCheck.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/HealthChecksSample/LivenessProbeStartup.cs b/samples/HealthChecksSample/LivenessProbeStartup.cs index e927412456..f5eabc6696 100644 --- a/samples/HealthChecksSample/LivenessProbeStartup.cs +++ b/samples/HealthChecksSample/LivenessProbeStartup.cs @@ -43,7 +43,7 @@ namespace HealthChecksSample // // In this example, the liveness check will us an 'identity' check that always returns healthy. // - // In this example, the readiness check will run all registered checks, include a check with an + // In this example, the readiness check will run all registered checks, include a check with a // long initialization time (15 seconds). diff --git a/samples/HealthChecksSample/ManagementPortStartup.cs b/samples/HealthChecksSample/ManagementPortStartup.cs index a6ccce97ab..79b38dc875 100644 --- a/samples/HealthChecksSample/ManagementPortStartup.cs +++ b/samples/HealthChecksSample/ManagementPortStartup.cs @@ -34,7 +34,7 @@ namespace HealthChecksSample // to the specified port. This is typically used in a container environment where you can expose // a port for monitoring services to have access to the service. // - In this case the management is configured in the launchSettings.json and passed through - // and environment variable + // an environment variable // - Additionally, the server is also configured to listen to requests on the management port. app.UseHealthChecks("/health", port: Configuration["ManagementPort"]); diff --git a/samples/HealthChecksSample/SlowDependencyHealthCheck.cs b/samples/HealthChecksSample/SlowDependencyHealthCheck.cs index 1ca03f88ae..7832724c81 100644 --- a/samples/HealthChecksSample/SlowDependencyHealthCheck.cs +++ b/samples/HealthChecksSample/SlowDependencyHealthCheck.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Diagnostics.HealthChecks; namespace HealthChecksSample { - // Simulates a health check for an application dependency that takes a while to initialize. + // Simulates a health check for an application dependency that takes a while to initialize. // This is part of the readiness/liveness probe sample. public class SlowDependencyHealthCheck : IHealthCheck {