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

[show] revert back to swsssdk from swsscommon for ConfigDBConnector() for muxcable #1584

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

vdahiya12
Copy link
Contributor

@vdahiya12 vdahiya12 commented Apr 29, 2021

For 202012 branch ConfigDBConnector() is imported from swsssdk.
So to use ConfigDBConnector() we still have to import from swsssdk instead of swsscommon.
The https://github.com/Azure/sonic-utilities/pull/1558 changed ConfigDBConnector() to be imported from swsscommon in show/muxcable.py
which causes unit test failure in sonic-utilities.
This PR fixes that.
Signed-off-by: vaibhav-dahiya [email protected]

What I did

changed the import

How I did it

How to verify it

ran a local build to pass unit tests

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@vdahiya12 vdahiya12 changed the title [show] revert back to swsssdk from swsscommon for ConfigDBConnector() [show] revert back to swsssdk from swsscommon for ConfigDBConnector() for muxcable Apr 29, 2021
@jleveque
Copy link
Contributor

ConfigDBConnector() still uses swsscommon, so use swsssdk till it is deprecated

This is a bit confusing. Can you please make the description more clear?

@vdahiya12
Copy link
Contributor Author

ConfigDBConnector() still uses swsscommon, so use swsssdk till it is deprecated

This is a bit confusing. Can you please make the description more clear?

updated

@vdahiya12 vdahiya12 merged commit efa0924 into sonic-net:202012 Apr 29, 2021
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.

2 participants