Add SERVICE_UNKNOWN to health.proto (#507)

There is a new field. https://github.com/grpc/grpc/blob/master/doc/health-checking.md
This commit is contained in:
Hossein Mayboudi
2021-01-05 16:02:59 -05:00
committed by GitHub
parent 6e5b16ce04
commit 9f1957f29d
+2 -1
View File
@@ -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);
}
}