Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[syseeprom] Remove the trailing space in the value of VENDOR_EXT fiel…
…d in the eepromTlvInfo decode (#333) Description The VEMDOR_EXT field parse the data and format each in byte in hex with space as separator. But the logic leaves a space at the end of the value. This PR removes the trailing space in output of the VENDOR_EXT field in the eepromTlvInfo decode This change is needed by 202205 branch Motivation and Context The trailing space at end of the VENDOR_EXT field cause the test of function get_system_eeprom_info() failed. The trailing space of the data filed is invisible char in the show platform syseeprom output while the get_system_eeprom_info() return a dictionary with trailing space in the end. This results in a mis-matched in the test case. Signed-off-by: mlok <[email protected]>
- Loading branch information