lib/bolt/executor.rb in bolt-2.29.0 vs lib/bolt/executor.rb in bolt-2.30.0
- old
+ new
@@ -225,10 +225,10 @@
sum = resource_counts.inject(0) { |accum, i| accum + i }
# Intentionally rounded to an integer. High precision isn't useful.
data[:resource_mean] = sum / resource_counts.length
end
- @analytics&.event('Apply', 'ast', data)
+ @analytics&.event('Apply', 'ast', **data)
end
def report_yaml_plan(plan)
steps = plan.steps.count
return_type = case plan.return