Skip to content

Commit

Permalink
syntax correction for PortSpeed
Browse files Browse the repository at this point in the history
BerndKue committed Sep 30, 2024

Verified

This commit was signed with the committer’s verified signature.
BerndKue Bernd
1 parent 6b6fdad commit 68c49dc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions redfish_collector.py
Original file line number Diff line number Diff line change
@@ -549,12 +549,7 @@ def _get_port_info(self, port_info):
self._target
)

port = (
{
'PortSpeed': current_port_speed_gbps,
'MAC': port_mac
}
)
port['PortSpeed'] = current_port_speed_gbps

return port

0 comments on commit 68c49dc

Please sign in to comment.