Skip to content

Fix a wrong comment in qos_sai_base.py#7965

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
congh-nvidia:qos_sai_base
Apr 13, 2023
Merged

Fix a wrong comment in qos_sai_base.py#7965
liat-grozovik merged 1 commit intosonic-net:masterfrom
congh-nvidia:qos_sai_base

Conversation

@congh-nvidia
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
There was a wrongly commented out line(line 15) which was introduced by a typo in the PR #6869.
The test was not broken because the fixtures are also imported in the pytest plugin, but still, we need to explicitly import them in the test.

#from tests.common.dualtor.dual_tor_utils import upper_tor_host, lower_tor_host, dualtor_ports # noqa F401

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

Fix a wrong comment introduced by PR #6869.

How did you do it?

Remove the comment and fix the the pre-commit failures.

How did you verify/test it?

By automation.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why no space here while on all other places we do have ' = '?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Liat, this is the default value defination of the function argument, no space is required here. Others are the variable assignments, spaces are required.

wangxin
wangxin previously approved these changes Apr 10, 2023
@wangxin
Copy link
Copy Markdown
Collaborator

wangxin commented Apr 10, 2023

Hi @congh-nvidia, can you do a rebase to resolve the merge conflicts?

There was a wrongly commented out line, remove the comment.

Change-Id: Iedf11514599b9b4f80f03d754ad4fe9b6900f71d
@congh-nvidia
Copy link
Copy Markdown
Contributor Author

Hi @congh-nvidia, can you do a rebase to resolve the merge conflicts?

Hi @wangxin, I have rebased and fixed the conflicts, please review. Thanks.

@liat-grozovik liat-grozovik merged commit 77a0b7f into sonic-net:master Apr 13, 2023
@congh-nvidia congh-nvidia deleted the qos_sai_base branch October 17, 2024 03:00
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.

3 participants