Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] [platform API] Fix “local variable 'label_port' referenced…
… before assignment” error (#6419) In rare case can see that xcvrd failed due to "UnboundLocalError: local variable 'label_port' referenced before assignment" Init "label_port" as None at the beginning of the function, to avoid the case that "label_port" not assigned.
- Loading branch information