bin/check-dns.rb in sensu-plugins-dns-1.2.1 vs bin/check-dns.rb in sensu-plugins-dns-1.2.2

- old
+ new

@@ -199,10 +199,10 @@ elsif config[:regex] check_against_regex(entry, Regexp.new(config[:regex])) elsif config[:validate] if entry.security_level != 'SECURE' - error << "Resolved #{entry.security_level} #{config[:domain]} #{config[:type]}" + errors << "Resolved #{entry.security_level} #{config[:domain]} #{config[:type]}" end success << "Resolved #{entry.security_level} #{config[:domain]} #{config[:type]}" else success << "Resolved #{config[:domain]} #{config[:type]}" end