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 b770cd4388
commit 699a057951
1 changed files with 2 additions and 2 deletions

View File

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