From c943225f9797d55a91a6256e5bc3794b6a6d5f7f Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 11 Oct 2019 10:48:16 +0200 Subject: [PATCH] Delete duplicated last_age var --- Check.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/Check.pm b/Check.pm index f47786a..e80ec1c 100644 --- a/Check.pm +++ b/Check.pm @@ -141,7 +141,6 @@ sub action my $age = -1; $check = { bkp => 0, - last_age => 0, errors => 0, new_size => 0, new_size_avg => 0, @@ -173,7 +172,6 @@ sub action $check->{new_size_q1} = eval { int $sizes->quantile(1) } || 0; $check->{new_size_q3} = eval { int $sizes->quantile(3) } || 0; $check->{age} = time - $bpc_info[$i]->{startTime}; - $check->{last_age} = sprintf("%.1f", ($check->{age}) / 84600); } # TOO BIG ?