bin/check-cloudwatch-metric.rb in sensu-plugins-aws-7.0.0 vs bin/check-cloudwatch-metric.rb in sensu-plugins-aws-7.0.1

- old
+ new

@@ -52,12 +52,12 @@ option :dimensions, description: 'Comma delimited list of DimName=Value', short: '-d DIMENSIONS', long: '--dimensions DIMENSIONS', - proc: proc { |d| CloudWatchMetricCheck.parse_dimensions d }, - default: '' + proc: proc { |d| CloudwatchCommon.parse_dimensions d }, + default: [] option :period, description: 'CloudWatch metric statistics period. Must be a multiple of 60', short: '-p N', long: '--period SECONDS', @@ -93,10 +93,10 @@ short: '-o OPERATION', long: '--opertor OPERATION', default: 'greater' option :no_data_ok, - short: '-n', + short: '-O', long: '--allow-no-data', description: 'Returns ok if no data is returned from the metric', boolean: true, default: false