diff options
author | ganmacs <ganmacs@gmail.com> | 2018-11-26 19:51:07 +0900 |
---|---|---|
committer | ganmacs <ganmacs@gmail.com> | 2018-11-26 19:51:07 +0900 |
commit | 79f58ec74ebc4f0d7693109dd1abb856ae29296c (patch) | |
tree | f3979daa683517df07f33a5b8947e15358f20ba5 /src/ruby | |
parent | b5ee54add3c2b2d5063c9ed16cc9cc2dcdb5c860 (diff) |
Use space
Diffstat (limited to 'src/ruby')
-rw-r--r-- | src/ruby/pb/grpc/health/checker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ruby/pb/grpc/health/checker.rb b/src/ruby/pb/grpc/health/checker.rb index 0e357cbd0c..7ad68409dd 100644 --- a/src/ruby/pb/grpc/health/checker.rb +++ b/src/ruby/pb/grpc/health/checker.rb @@ -36,9 +36,9 @@ module Grpc @status_mutex.synchronize do status = @statuses["#{req.service}"] end - if status.nil? + if status.nil? fail GRPC::BadStatus.new_status_exception(StatusCodes::NOT_FOUND) - end + end HealthCheckResponse.new(status: status) end |