Commit Graph

6 Commits (738caf35da7300c41b33bd8acfdab149ed9d39da)

Author SHA1 Message Date
Darren Worrall b0926125c2 Fix json loading in sensu_check
Fixes `AttributeError: 'str' object has no attribute 'read'` when the
check path exists
9 years ago
Darren Worrall 4ead053031 Initialise `stream` variable
Fixes `UnboundLocalError: local variable 'stream' referenced before
assignment` when the check path doesnt exist
9 years ago
Brian Coca 286bc3d9dc forgot finally 2.4 syntax 10 years ago
Brian Coca eeb9d34812 also fixed exceptions 10 years ago
Brian Coca 1659af1541 made sensu_check 2.4 friendly 10 years ago
Anders Ingemann 3f3a73da37 Add sensu_check module 10 years ago