Skip to content

Commit

Permalink
Merge pull request #165 from murrant/analysis-o7V2LN
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
murrant authored Nov 7, 2024
2 parents 3a04210 + bb96c8d commit eee900b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion LibreNMS/OS/Procurve.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ public function discoverTransceivers(): Collection
{
$ifIndexToPortId = $this->getDevice()->ports()->pluck('port_id', 'ifIndex');


return SnmpQuery::cache()->walk('HP-ICF-TRANSCEIVER-MIB::hpicfXcvrInfoTable')->mapTable(function ($data, $ifIndex) use ($ifIndexToPortId) {
return new Transceiver([
'port_id' => $ifIndexToPortId->get($ifIndex, 0),
Expand Down

0 comments on commit eee900b

Please sign in to comment.