Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for 'log_notifce()' typo in xcvrd.py #492

Closed

Conversation

tshalvi
Copy link
Contributor

@tshalvi tshalvi commented May 29, 2024

This PR fixes the following issue: sonic-net/sonic-buildimage#19116

Description

 Typo fix: log_notifce() --> log_notice()

Motivation and Context

PR #459 introduces a typo "log_notifce".
Check line:

self.log_notifce("{}: Failed to default to AppSel=0".format(lport))
.

It causes an exception in cmis task manager which results in port down:

May 27 20:38:17.489639 sonic ERR pmon#xcvrd: CMIS: Ethernet96: internal errors due to 'CmisManagerTask' object has no attribute 'log_notifce'

How Has This Been Tested?

Additional Information (Optional)

@tshalvi
Copy link
Contributor Author

tshalvi commented May 29, 2024

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tshalvi
Copy link
Contributor Author

tshalvi commented May 30, 2024

The developer who introduced the typo has already raised a PR to fix it.
Closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants