We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We observed this issue in T2 testing with recent 202205 image.
portstat -j produced the following line that is not able parsed by json.
portstat -j
Reminder: Please execute 'show interface counters -d all' to include internal links
This seems a regression from sonic-net/sonic-utilities#2851. The offending line is https://github.com/sonic-net/sonic-utilities/blob/dbcaaf8aa27b37dfba1b088e2fa59fd94b8dc683/scripts/portstat#L341
if multi_asic.is_multi_asic() or device_info.is_chassis() and not use_json:
With the above condition, Reminder: Please execute 'show interface counters -d all' to include internal links is printed even when use_json is True.
True
show version
(paste your output here)
show techsupport
(paste your output here or download and attach the file here )
The text was updated successfully, but these errors were encountered:
Add @arlakshm @wenyiz2021 for visiblity.
Sorry, something went wrong.
fix precedence in portstat CLI (#2874)
de49179
fix sonic-net/sonic-buildimage#15439
fix precedence in portstat CLI (sonic-net#2874)
5812025
Successfully merging a pull request may close this issue.
Description
We observed this issue in T2 testing with recent 202205 image.
portstat -j
produced the following line that is not able parsed by json.This seems a regression from sonic-net/sonic-utilities#2851. The offending line is https://github.com/sonic-net/sonic-utilities/blob/dbcaaf8aa27b37dfba1b088e2fa59fd94b8dc683/scripts/portstat#L341
With the above condition,
Reminder: Please execute 'show interface counters -d all' to include internal links
is printed even when use_json isTrue
.Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: