kostya / eye

Process monitoring tool. Inspired from Bluepill and God.
MIT License
1.19k stars 86 forks source link

HTTP numeric response codes are not handled properly #148

Closed josqu4red closed 9 years ago

josqu4red commented 9 years ago

In https://github.com/kostya/eye/blob/master/lib/eye/checker/http.rb#L24, Net::HTTPResponse::CODE_TO_OBJ keys are strings, (ruby 2.2 at least) so test on Fixnum type does not work.