-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[202012] Replace swsssdk with swsscommon in sonic-host-services and update submodule sonic-swss-common #8513
[202012] Replace swsssdk with swsscommon in sonic-host-services and update submodule sonic-swss-common #8513
Conversation
@@ -1,6 +1,6 @@ | |||
import os | |||
import sys | |||
import swsssdk | |||
import swsscommon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just minor cosmetic changes, same as the changes in other files, can you change this to "from swsscomm import swsscommon"? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I submit another PR on master to solve your comments: #8515.
Keep this PR as simple as backport.
@@ -10,7 +10,7 @@ | |||
from .mock_configdb import MockConfigDb | |||
|
|||
|
|||
swsssdk.ConfigDBConnector = MockConfigDb | |||
swsscommon.swsscommon.ConfigDBConnector = MockConfigDb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And also change this line to just "swsscommon.ConfigDBConnector = MockConfigDb"? #Resolved
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
4a1df0a
to
9ef593c
Compare
Why I did it
Backport #8034 to 202012 branch
sonic-swss-common submodule updating includes below commits
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)