Skip to content

Commit

Permalink
[xcvrd] Fix issue: logical_port_name is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Apr 15, 2024
1 parent 2770fd2 commit 4c2ef4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonic-xcvrd/xcvrd/xcvrd_utilities/optics_si_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def fetch_optics_si_setting(physical_port, lane_speed, sfp):
return optics_si
vendor_key, vendor_name = get_module_vendor_key(physical_port, sfp)
if vendor_key is None or vendor_name is None:
helper_logger.log_error("Error: No Vendor Key found for port '{}'".format(logical_port_name))
helper_logger.log_error("Error: No Vendor Key found for Module {}".format(physical_port))
return optics_si
optics_si = get_optics_si_settings_value(physical_port, lane_speed, vendor_key, vendor_name)
return optics_si
Expand Down

0 comments on commit 4c2ef4b

Please sign in to comment.