bin/check-redshift-events.rb in sensu-plugins-aws-3.0.0 vs bin/check-redshift-events.rb in sensu-plugins-aws-3.1.0
- old
+ new
@@ -64,11 +64,10 @@
default: []
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
# setup a redshift connection using aws-sdk
def redshift
@redshift ||= AWS::Redshift::Client.new aws_config