Closed marcdeop closed 4 years ago
check-smart-status.rb was using this call devices << Disk.new(dev.to_s, '', nil) which passes an empty path to @override_path thus making the check fail by checking an empty path
check-smart-status.rb
devices << Disk.new(dev.to_s, '', nil)
@override_path
Thanks for your contribution to Sensu plugins! Without people like you submitting PRs we couldn't run the project. I will review it shortly.
This PR is not needed anymore as bc8626b7 already covers it.
General
Purpose
check-smart-status.rb
was using this calldevices << Disk.new(dev.to_s, '', nil)
which passes an empty path to@override_path
thus making the check fail by checking an empty path