Fix typos in samples

This commit is contained in:
Zhiliang 2018-08-27 17:25:47 +08:00 committed by Pranav K
parent fc7fa4f0f0
commit 6cd4cf1a7a
3 changed files with 3 additions and 3 deletions

View File

@ -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 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). // long initialization time (15 seconds).

View File

@ -34,7 +34,7 @@ namespace HealthChecksSample
// to the specified port. This is typically used in a container environment where you can expose // 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. // 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 // - 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. // - Additionally, the server is also configured to listen to requests on the management port.
app.UseHealthChecks("/health", port: Configuration["ManagementPort"]); app.UseHealthChecks("/health", port: Configuration["ManagementPort"]);

View File

@ -4,7 +4,7 @@ using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace HealthChecksSample 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. // This is part of the readiness/liveness probe sample.
public class SlowDependencyHealthCheck : IHealthCheck public class SlowDependencyHealthCheck : IHealthCheck
{ {