+ Fix number of psu

This commit is contained in:
garnier-quentin 2017-01-20 17:37:56 +01:00
parent 7541f223f4
commit 2cf5e51836
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ sub check_psu {
my ($self, %options) = @_;
return if ($self->check_filter(section => 'psu', instance => $options{instance}));
$self->{components}->{psu}->{total} += 2;
$self->{components}->{psu}->{total}++;
$self->{output}->output_add(long_msg => sprintf("psu '%s' status is '%s' [instance: %s, chassis: %s].",
$options{instance}, $options{status},