Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as in S…
…fpUtilBase (sonic-net#96) The SfpUtil interface used in xcvrd expects get_physical_to_logical to return None in the case of unknown port: https://github.com/Azure/sonic-platform-daemons/blob/master/sonic-xcvrd/scripts/xcvrd#L906 Note SfpUtilBase implementation already conforms the interface in xcvrd: https://github.com/Azure/sonic-platform-common/blob/master/sonic_platform_base/sonic_sfp/sfputilbase.py#L603 Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
- Loading branch information