Update health-checks.md (#25477)
parent
8515a55b30
commit
6571c5cacb
|
@ -64,7 +64,7 @@ The [`Grpc.HealthCheck`](https://www.nuget.org/packages/Grpc.HealthCheck) packag
|
||||||
var channel = GrpcChannel.ForAddress("https://localhost:5001");
|
var channel = GrpcChannel.ForAddress("https://localhost:5001");
|
||||||
var client = new Health.HealthClient(channel);
|
var client = new Health.HealthClient(channel);
|
||||||
|
|
||||||
var response = client.CheckAsync(new HealthCheckRequest());
|
var response = await client.CheckAsync(new HealthCheckRequest());
|
||||||
var status = response.Status;
|
var status = response.Status;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue