Bug 16769: [QA Follow-up] Still found an occurrence
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 27 Jul 2016 14:04:51 +0000 (16:04 +0200)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Mon, 10 Oct 2016 17:03:55 +0000 (17:03 +0000)
Script svc/report did contain one old-style call.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
svc/report

index 8a8bc26..7f60ffb 100755 (executable)
@@ -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 {