fix(firepower/fmc): devices mode - wrong performances data (#3131)

This commit is contained in:
qgarnier 2021-09-23 09:32:47 +02:00 committed by GitHub
parent 67ad2d72eb
commit cd5074636a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -163,8 +163,8 @@ sub manage_selection {
name => $device->{name}, name => $device->{name},
status => $device->{healthStatus} status => $device->{healthStatus}
}; };
$self->{global}->{'devices_' . lc($device->{name})}++ $self->{global}->{'devices_' . lc($device->{healthStatus})}++
if (defined($self->{global}->{'devices_' . lc($device->{name})})); if (defined($self->{global}->{'devices_' . lc($device->{healthStatus})}));
$self->{global}->{devices_total}++; $self->{global}->{devices_total}++;
} }
} }