From 6571c5cacb89c346832906f777759ced947344e4 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Thu, 31 Mar 2022 20:49:31 +0800 Subject: [PATCH] Update health-checks.md (#25477) --- aspnetcore/grpc/health-checks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/grpc/health-checks.md b/aspnetcore/grpc/health-checks.md index bbdc34b673..426bd4e91e 100644 --- a/aspnetcore/grpc/health-checks.md +++ b/aspnetcore/grpc/health-checks.md @@ -64,7 +64,7 @@ The [`Grpc.HealthCheck`](https://www.nuget.org/packages/Grpc.HealthCheck) packag var channel = GrpcChannel.ForAddress("https://localhost:5001"); var client = new Health.HealthClient(channel); -var response = client.CheckAsync(new HealthCheckRequest()); +var response = await client.CheckAsync(new HealthCheckRequest()); var status = response.Status; ```