From c8d11f8dfe858eb01da936a01bc9a38b67b6649d Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 5 Jan 2021 14:29:10 +0100 Subject: [PATCH] fix clamav --- apps/antivirus/clamav/local/mode/updatestatus.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/antivirus/clamav/local/mode/updatestatus.pm b/apps/antivirus/clamav/local/mode/updatestatus.pm index 4b8e08a16..9c2014e65 100644 --- a/apps/antivirus/clamav/local/mode/updatestatus.pm +++ b/apps/antivirus/clamav/local/mode/updatestatus.pm @@ -80,7 +80,7 @@ sub set_counters { closure_custom_threshold_check => \&catalog_status_threshold_ng } }, - { label => 'maindb-status', typed => 2, critical_default => '%{last_maindb_version} ne %{current_maindb_version}', set => { + { label => 'maindb-status', type => 2, critical_default => '%{last_maindb_version} ne %{current_maindb_version}', set => { key_values => [ { name => 'last_maindb_version' }, { name => 'current_maindb_version' }, { name => 'current_maindb_timediff' } ], closure_custom_output => $self->can('custom_maindb_status_output'), closure_custom_perfdata => sub { return 0; },