sensu-plugins / sensu-plugin

A framework for writing Sensu plugins & handlers with Ruby.
http://sensuapp.org
MIT License
126 stars 117 forks source link

Empty string dependancies break sensu-handler.rb #147

Closed rs-mrichmond closed 8 years ago

rs-mrichmond commented 8 years ago

sensu-handler.rb breaks if one of the dependencies for a check is empty string. This probably shouldn't happen. Check for empty string and don't try and parse that line.

rs-mrichmond commented 8 years ago

sounds good to me!

cwjohnston commented 8 years ago

Hi @rs-mrichmond, thanks for submitting this pull request. Seems like a reasonable sanity check to me.

rs-mrichmond commented 8 years ago

All done @cwjohnston

cwjohnston commented 8 years ago

👍