From 1fbf1a76ab48d1c080f48bd0ddae36d8f8e86dd1 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 28 Jul 2020 10:32:02 +0200 Subject: [PATCH] Fix #2102 --- centreon/plugins/templates/hardware.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/plugins/templates/hardware.pm b/centreon/plugins/templates/hardware.pm index be99935fb..c1df3fddd 100644 --- a/centreon/plugins/templates/hardware.pm +++ b/centreon/plugins/templates/hardware.pm @@ -162,7 +162,7 @@ sub check_options { } } - $self->{overload_th} = {}; + $self->{overload_th} = []; foreach my $val (@{$self->{option_results}->{threshold_overload}}) { next if (!defined($val) || $val eq ''); my @values = split (/,/, $val);