Skip to content

Commit

Permalink
Fix typo in platform_sfputil_helper.is_rj45_port (sonic-net#2374)
Browse files Browse the repository at this point in the history
Fix typo in platform_sfputil_helper.is_rj45_port.
  • Loading branch information
stephenxs authored and mdanish-kh committed Oct 22, 2022
1 parent 13c335a commit 39a6499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities_common/platform_sfputil_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def is_rj45_port(port_name):

port_type = None
try:
physical_port = platform_sfputil.logical_port_name_to_physical_port_list(port_name)
physical_port = platform_sfputil.get_logical_to_physical(port_name)
if physical_port:
port_type = platform_chassis.get_port_or_cage_type(physical_port[0])
except Exception as e:
Expand Down

0 comments on commit 39a6499

Please sign in to comment.