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

[queuestat CLI] Enable queuestat to get counters with missing data #2687

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

royyi8
Copy link
Contributor

@royyi8 royyi8 commented Feb 22, 2023

If self.db.get returns an empty string due to missing fields in countersDB, queuestat will crash instead of setting STATUS_NA.

Fixed this problem by checking if counter_data == ''

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 22, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

If self.db.get returns an empty string due to missing fields in
countersDB, queuestat will crash instead of setting STATUS_NA.

Fixed this problem by checking if counter_data == ''

Signed-off-by: Roy Yi <[email protected]>
@royyi8 royyi8 force-pushed the master_fix_queuestat branch from 0abf354 to 9986416 Compare February 23, 2023 19:57
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.

1 participant