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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user