bin/check-dynamodb-throttle.rb in sensu-plugins-aws-3.0.0 vs bin/check-dynamodb-throttle.rb in sensu-plugins-aws-3.1.0
- old
+ new
@@ -92,11 +92,10 @@
end
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 dynamo_db
@dynamo_db ||= Aws::DynamoDB::Client.new aws_config
end