bin/check-dynamodb-capacity.rb in sensu-plugins-aws-1.2.0 vs bin/check-dynamodb-capacity.rb in sensu-plugins-aws-2.0.0
- old
+ new
@@ -153,10 +153,10 @@
@severities.keys.each do |severity|
threshold = config[:"#{severity}_over"]
next unless threshold
next if percentage < threshold
- flag_alert severity, "; On table #{table.name} consumed #{r_or_w} capacity is #{sprintf '%.2f', percentage}% (expected_lower_than #{threshold})" # rubocop:disable all
+ flag_alert severity, "; On table #{table.name} consumed #{r_or_w} capacity is #{sprintf '%.2f', percentage}% (expected_lower_than #{threshold})"
break
end
end
end