bin/check-autoscaling-cpucredits.rb in sensu-plugins-aws-3.0.0 vs bin/check-autoscaling-cpucredits.rb in sensu-plugins-aws-3.1.0

- old
+ new

@@ -83,11 +83,10 @@ description: 'Issue a critical if the CloudWatch _Count_ based metric (Status Check / CPU Credits) is below this value' 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 asg @asg ||= Aws::AutoScaling::Client.new aws_config end