bin/metrics-emr-steps.rb in sensu-plugins-aws-3.1.0 vs bin/metrics-emr-steps.rb in sensu-plugins-aws-3.2.0

- old
+ new

@@ -72,10 +72,10 @@ cluster = clusters.sort_by { |c| c.status.timeline.creation_date_time }.reverse.first data = {} STATUS.each_entry { |status| data[status] = 0 } cluster_steps(emr, cluster.id, data) safe_name = config[:cluster_name].tr(' ', '_') - output config[:scheme] + '.' + safe_name + '.id.' + cluster_id + output config[:scheme] + '.' + safe_name + '.id.' + cluster.id STATUS.each_entry { |status| output config[:scheme] + '.' + safe_name + '.step.' + status, data[status] } end ok end end