Fix typos in samples
This commit is contained in:
parent
fc7fa4f0f0
commit
6cd4cf1a7a
|
|
@ -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).
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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"]);
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue