bin/metrics-ec2-count.rb in sensu-plugins-aws-3.0.0 vs bin/metrics-ec2-count.rb in sensu-plugins-aws-3.1.0

- old
+ new

@@ -19,11 +19,11 @@ # #YELLOW # # NOTES: # # LICENSE: -# Copyright (c) 2014, Tim Smith, tim@cozy.co +# Copyright (c) 2014, Tim Smith, tsmith@chef.io # Released under the same terms as Sensu (the MIT license); see LICENSE # for details. # require 'sensu-plugin/metric/cli' @@ -61,11 +61,10 @@ default: 'instance' 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 by_instances_status(client) if config[:scheme] == 'sensu.aws.ec2' config[:scheme] += '.count'