bin/check-ceph.rb in sensu-plugins-ceph-1.0.0 vs bin/check-ceph.rb in sensu-plugins-ceph-1.0.1

- old
+ new

@@ -143,14 +143,12 @@ end end def run result = check_ceph_health - ok result if result.start_with?('HEALTH_OK') - result = strip_warns(result) if config[:ignore_flags] result += run_cmd('ceph osd tree') if config[:osd_tree] - + ok result if result.start_with?('HEALTH_OK') if result.start_with?('HEALTH_WARN') warning result else critical result end