bin/check-ec2-network.rb in sensu-plugins-aws-3.0.0 vs bin/check-ec2-network.rb in sensu-plugins-aws-3.1.0
- old
+ new
@@ -80,11 +80,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 ec2
@ec2 ||= Aws::EC2::Client.new aws_config
end