add a comment
This commit is contained in:
@ -27,6 +27,7 @@ func (s *HealthServer) Check(ctx context.Context, in *healthpb.HealthCheckReques
|
|||||||
s.mu.Lock()
|
s.mu.Lock()
|
||||||
defer s.mu.Unlock()
|
defer s.mu.Unlock()
|
||||||
if in.Service == "" {
|
if in.Service == "" {
|
||||||
|
// check the server overall health status.
|
||||||
return &healthpb.HealthCheckResponse{
|
return &healthpb.HealthCheckResponse{
|
||||||
Status: healthpb.HealthCheckResponse_SERVING,
|
Status: healthpb.HealthCheckResponse_SERVING,
|
||||||
}, nil
|
}, nil
|
||||||
|
Reference in New Issue
Block a user