diff --git a/svc/report b/svc/report index 8a8bc264fd..7f60ffbff0 100755 --- a/svc/report +++ b/svc/report @@ -77,7 +77,7 @@ unless ($json_text) { $json_text = encode_json($lines); if ($cache_active) { - $cache->set_in_cache( $cache_key, $json_text, $report_rec->{cache_expiry} ); + $cache->set_in_cache( $cache_key, $json_text, { expiry => $report_rec->{cache_expiry} } ); } } else {