Skip to content
Snippets Groups Projects
Commit 22916d22 authored by mmurphy's avatar mmurphy
Browse files

tid27517 changing ChefLastGoodRun module to pull the change_count from last-good-run.json

parent f42fd969
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,7 @@ sub handler { ...@@ -85,7 +85,7 @@ sub handler {
$report = decode_json($report); $report = decode_json($report);
$metrics{elapsed} = [ $report->{elapsed_time}, 'F' ]; $metrics{elapsed} = [ $report->{elapsed_time}, 'F' ];
$metrics{change_count} = [ scalar(@{$report->{updated_resources}}), 'I' ]; $metrics{change_count} = [ $report->{change_count}, 'I' ];
return \%metrics; return \%metrics;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment