Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get_error_description should return 'OK' instead of None when there i…
…s no error (#518) - Description The "get_error_description" function should return 'OK' instead of 'None' when there are no errors. - Motivation and Context When there are no errors on the cable, get_error_description currently returns 'None'. In this case, we should return 'OK' so that the CLI (show interface transceiver error-description) provides a proper output. - How Has This Been Tested? Call this API directly on different cables with different error statuses. Signed-off-by: Kebo Liu <kebol@nvidia.com>
- Loading branch information