mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update avaya-ers.inc.php (#7139)
noticed that I didn't rename the array on line 46. If we don't need to declare it here then it can be deleted.
This commit is contained in:
committed by
Neil Lathwood
parent
a44dc7bd28
commit
4e4a9d919e
@@ -43,7 +43,7 @@ if ($device['os'] === 'avaya-ers') {
|
||||
}
|
||||
|
||||
// get fans (6) and temp (5) sensor only from walk
|
||||
$sensors = array();
|
||||
$ers_sensors = array();
|
||||
foreach ($oid as $key => $value) {
|
||||
if ($key[s5ChasComGrpIndx] == 5 || $key[s5ChasComGrpIndx] == 6) {
|
||||
$ers_sensors[$key] = $value;
|
||||
|
||||
Reference in New Issue
Block a user