Skip to content

Use github code scanning instead of LGTM#316

Merged
prgeor merged 1 commit intosonic-net:masterfrom
liushilongbuaa:master
Nov 29, 2022
Merged

Use github code scanning instead of LGTM#316
prgeor merged 1 commit intosonic-net:masterfrom
liushilongbuaa:master

Conversation

@liushilongbuaa
Copy link
Contributor

@liushilongbuaa liushilongbuaa commented Nov 28, 2022

Description

LGTM is deprecated in December 2022. Enable github code scanning instead.
result is pasted in comment.

Motivation and Context

How Has This Been Tested?

Additional Information (Optional)

@liushilongbuaa
Copy link
Contributor Author

image

@prgeor prgeor merged commit 9b84b58 into sonic-net:master Nov 29, 2022
yxieca pushed a commit that referenced this pull request Jan 4, 2023
lotus-nexthop pushed a commit to lotus-nexthop/sonic-platform-daemons that referenced this pull request Oct 28, 2025
…onic-net#316)

- Description
Catch both TypeError and AttributeError in CmisApi::get_application_advertisement because an AttributeError will be thrown when updating a dict with None.

- Motivation and Context
Fix issue found during automation tests

- How Has This Been Tested?
Manually test
Added new unit test

Signed-off-by: Stephen Sun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants