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

Input check for timeout in generate_dump #2925

Merged

Conversation

ycoheNvidia
Copy link
Contributor

What I did

Added input check for argument "-t" in generate_dump script

How I did it

Made sure only integer values can be received for this argument

How to verify it

Call generate_dump -t with non-integer values

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

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

@ycoheNvidia
Copy link
Contributor Author

@qiluo-msft can we get a reviewer for this fix please?

@qiluo-msft qiluo-msft merged commit cd882cc into sonic-net:master Aug 2, 2023
4 checks passed
@ycoheNvidia ycoheNvidia deleted the generate_dump_sanitization branch August 3, 2023 06:23
pdhruv-marvell pushed a commit to pdhruv-marvell/sonic-utilities that referenced this pull request Aug 23, 2023
#### What I did
Added input check for argument "-t" in generate_dump script
#### How I did it
Made sure only integer values can be received for this argument
#### How to verify it
Call generate_dump -t with non-integer values
maipbui pushed a commit to maipbui/sonic-utilities that referenced this pull request Jul 18, 2024
#### What I did
Added input check for argument "-t" in generate_dump script
#### How I did it
Made sure only integer values can be received for this argument
#### How to verify it
Call generate_dump -t with non-integer values
maipbui pushed a commit to maipbui/sonic-utilities that referenced this pull request Jul 18, 2024
#### What I did
Added input check for argument "-t" in generate_dump script
#### How I did it
Made sure only integer values can be received for this argument
#### How to verify it
Call generate_dump -t with non-integer values
StormLiangMS pushed a commit that referenced this pull request Jul 18, 2024
#### What I did
Added input check for argument "-t" in generate_dump script
#### How I did it
Made sure only integer values can be received for this argument
#### How to verify it
Call generate_dump -t with non-integer values

Co-authored-by: ycoheNvidia <99744138+ycoheNvidia@users.noreply.github.com>
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.

2 participants