Skip to content

Commit

Permalink
[xcvrd] Update key names in 'get_media_settings_value()' (sonic-net#63)
Browse files Browse the repository at this point in the history
Update key names which were missed in sonic-net/sonic-platform-daemons#62

Fixes sonic-net#4886
  • Loading branch information
jleveque authored Jul 2, 2020
1 parent abe115e commit 9b8bfa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonic-xcvrd/scripts/xcvrd
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ def get_media_settings_value(physical_port, key):
def get_media_settings_key(physical_port, transceiver_dict):
sup_compliance_str = '10/40G Ethernet Compliance Code'
sup_len_str = 'Length Cable Assembly(m)'
vendor_name_str = transceiver_dict[physical_port]['manufacturename']
vendor_pn_str = transceiver_dict[physical_port]['modelname']
vendor_name_str = transceiver_dict[physical_port]['manufacturer']
vendor_pn_str = transceiver_dict[physical_port]['model']
vendor_key = string.upper(vendor_name_str) + '-' + vendor_pn_str

media_len = ''
Expand Down

0 comments on commit 9b8bfa1

Please sign in to comment.