Browse Source

tiny fix

pull/14840/head
Hamza Albreem 4 years ago
committed by GitHub
parent
commit
aff68835b0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/en/Community-Articles/2022-11-27-gRPC-Health-Checks/POST.md

4
docs/en/Community-Articles/2022-11-27-gRPC-Health-Checks/POST.md

@ -40,7 +40,7 @@ public override void ConfigureServices(ServiceConfigurationContext context)
.AddCheck("SampleHealthCheck", () => HealthCheckResult.Healthy());
}
```
* `MapGrpcHealthChecksService` to add a health checks service endpoint.
* `MapGrpcHealthChecksService` to add a health check service endpoint.
```csharp
public override void OnApplicationInitialization(ApplicationInitializationContext context)
@ -70,4 +70,4 @@ Console.WriteLine($"Health Status: {status}");
## References
- https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-7.0?view=aspnetcore-7.0#grpc-health-checks-in-aspnet-core
- https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-7.0?view=aspnetcore-7.0#grpc-health-checks-in-aspnet-core

Loading…
Cancel
Save