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 a logic issue for load_namespace_config in sonic-cfggen #18691

Merged
merged 2 commits into from
May 18, 2024
Merged

Fix a logic issue for load_namespace_config in sonic-cfggen #18691

merged 2 commits into from
May 18, 2024

Conversation

wumiaont
Copy link
Contributor

Why I did it

PR 10960 fixed an issue of calling load_sonic_global_db_config() multiple times which causes error log of "SonicDBConfig Global config is already initialized". The load_namespace_config() has logic issue so is fixed with this PR

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Tested with the above fix and run "show interface status". Watched there's no error log. And commands works fine.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

qiluo-msft
qiluo-msft previously approved these changes Apr 16, 2024
@deepak-singhal0408
Copy link
Contributor

MSFT ADO: 25516271

@rlhui
Copy link
Contributor

rlhui commented Apr 17, 2024

pending Qi/Deepak to re-approve

@deepak-singhal0408
Copy link
Contributor

/azpw run

@wumiaont
Copy link
Contributor Author

@qiluo-msft Please re-approve and help to merge.

@qiluo-msft
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lguohan lguohan merged commit f2418ab into sonic-net:master May 18, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants