Update health-checks.md (#25477)

pull/25473/head
James Newton-King 2022-03-31 20:49:31 +08:00 committed by GitHub
parent 8515a55b30
commit 6571c5cacb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
``` ```