From 658f0611d7e3a1b0f551781e36bea7d5bb570bc5 Mon Sep 17 00:00:00 2001 From: Clinton Wolfe <clinton@omniti.com> Date: Tue, 18 Sep 2012 17:40:44 -0400 Subject: [PATCH] read_file, not readfile --- lib/Core/ChefLastGoodRun.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Core/ChefLastGoodRun.pm b/lib/Core/ChefLastGoodRun.pm index 2f44c4c..1bf2cdb 100644 --- a/lib/Core/ChefLastGoodRun.pm +++ b/lib/Core/ChefLastGoodRun.pm @@ -81,7 +81,7 @@ sub handler { } } - my $report = File::Slurp::readfile($report_path); + my $report = File::Slurp::read_file($report_path); $report = decode_json($report); $metrics{elapsed} = [ $report->{elapsed_time}, 'F' ]; -- GitLab