Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzhouhan committed Aug 14, 2015
1 parent e1eaac2 commit 80bd4c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions health/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func (s *HealthServer) Check(ctx context.Context, in *healthpb.HealthCheckReques
s.mu.Lock()
defer s.mu.Unlock()
if in.Service == "" {
// check the server overall health status.
return &healthpb.HealthCheckResponse{
Status: healthpb.HealthCheckResponse_SERVING,
}, nil
Expand Down

0 comments on commit 80bd4c5

Please sign in to comment.