bin/metrics-sqs.rb in sensu-plugins-aws-3.0.0 vs bin/metrics-sqs.rb in sensu-plugins-aws-3.1.0
- old
+ new
@@ -68,11 +68,10 @@
default: 'us-east-1'
def aws_config
{ access_key_id: config[:aws_access_key],
secret_access_key: config[:aws_secret_access_key],
- region: config[:aws_region]
- }
+ region: config[:aws_region] }
end
def scheme(queue_name)
"aws.sqs.queue.#{queue_name.tr('-', '_')}.message_count"
end