bin/check-certificate-expiry.rb in sensu-plugins-aws-3.0.0 vs bin/check-certificate-expiry.rb in sensu-plugins-aws-3.1.0
- old
+ new
@@ -67,11 +67,10 @@
default: 0
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 aws_client(opts = {})
config = aws_config.merge(opts)
@aws_client ||= Aws::IAM::Client.new config