Skip to content

[Mellanox] Fix the typo in mlnx-sfpd#3426

Merged
lguohan merged 3 commits intosonic-net:201811from
stephenxs:fix-mlnx-sfpd-typo
Sep 10, 2019
Merged

[Mellanox] Fix the typo in mlnx-sfpd#3426
lguohan merged 3 commits intosonic-net:201811from
stephenxs:fix-mlnx-sfpd-typo

Conversation

@stephenxs
Copy link
Copy Markdown
Collaborator

- What I did
Fix the typo in mlnx-sfpd

- How I did it
Fix the typo.

- How to verify it
Inject an error so that the statement can be reached and tested.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

sfp_state = sfp_value_status_dict.get(module_state, STATUS_UNKNOWN)
if sfp_state == STATUS_UNKNOWN:
log_error("unknown module state {} on port {}".format(module_state, port))
log_error("unknown module state {} on port(s) {}".format(module_state, port_list))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the unknown status? it should be either in or out. why is this an error message?

@lguohan lguohan merged commit 9c6b708 into sonic-net:201811 Sep 10, 2019
@stephenxs stephenxs deleted the fix-mlnx-sfpd-typo branch September 30, 2019 13:22
mssonicbld added a commit that referenced this pull request Dec 19, 2024
…lly (#21222)

#### Why I did it
src/sonic-swss
```
* 93c32ea7 - (HEAD -> 202405, origin/202405) vlanmgrd not to throw exception for Portchannel ip link add because of race condition with PortChannel removal. (#3426) (2 hours ago) [abdosi]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants