From 9f1957f29d93749895895a4a1aad0f2438c9f8fe Mon Sep 17 00:00:00 2001 From: Hossein Mayboudi Date: Wed, 6 Jan 2021 00:32:59 +0330 Subject: [PATCH] Add `SERVICE_UNKNOWN` to `health.proto` (#507) There is a new field. https://github.com/grpc/grpc/blob/master/doc/health-checking.md --- tonic-health/proto/health.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tonic-health/proto/health.proto b/tonic-health/proto/health.proto index 871b3d7..a8c10ab 100644 --- a/tonic-health/proto/health.proto +++ b/tonic-health/proto/health.proto @@ -11,6 +11,7 @@ message HealthCheckResponse { UNKNOWN = 0; SERVING = 1; NOT_SERVING = 2; + SERVICE_UNKNOWN = 3; // Used only by the Watch method. } ServingStatus status = 1; } @@ -19,4 +20,4 @@ service Health { rpc Check(HealthCheckRequest) returns (HealthCheckResponse); rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse); -} \ No newline at end of file +}