Skip to content

Commit 0a87302

Browse files
stephenxspreetham-singh
authored andcommitted
Fix typo in platform_sfputil_helper.is_rj45_port (sonic-net#2374)
Fix typo in platform_sfputil_helper.is_rj45_port.
1 parent d93c05c commit 0a87302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utilities_common/platform_sfputil_helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def is_rj45_port(port_name):
133133

134134
port_type = None
135135
try:
136-
physical_port = platform_sfputil.logical_port_name_to_physical_port_list(port_name)
136+
physical_port = platform_sfputil.get_logical_to_physical(port_name)
137137
if physical_port:
138138
port_type = platform_chassis.get_port_or_cage_type(physical_port[0])
139139
except Exception as e:

0 commit comments

Comments
 (0)