Skip to content

Conversation

@Bojun-Feng
Copy link
Contributor

@Bojun-Feng Bojun-Feng commented Dec 12, 2025

What I did

Fix sonic-net/sonic-buildimage#24836
Fix #2795

Corrected namesapce -> namespace across portconfig/docs/tests.
This prevents the scripts/portconfig script from crashing due to this line:

state_db = SonicV2Connector(host="127.0.0.1", namesapce=self.namespace, use_unix_socket_path=True)

How I did it

Updated the SonicV2Connector initialization that referenced the wrong argument name, also did key word find-and-replace on the documentation.

How to verify it

The code change here should be self-explanatory.

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

N/A

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

N/A

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

What I did
- corrected `namesapce` -> `namespace` across portconfig/docs/tests.

Signed-off-by: Bojun Feng <bojundf@gmail.com>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Bojun-Feng
Copy link
Contributor Author

Bojun-Feng commented Dec 15, 2025

Re-pushed commit to update deprecated email

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.

Bug: Typo Error "namesapce" in Portconfig and other files namespace typo error "namesapce"

2 participants