Skip to content

Input check for timeout in generate_dump#2925

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
ycoheNvidia:generate_dump_sanitization
Aug 2, 2023
Merged

Input check for timeout in generate_dump#2925
qiluo-msft merged 1 commit intosonic-net:masterfrom
ycoheNvidia:generate_dump_sanitization

Conversation

@ycoheNvidia
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@ycoheNvidia ycoheNvidia force-pushed the generate_dump_sanitization branch from 107b4b8 to d3e7bce Compare August 2, 2023 12:14
@qiluo-msft qiluo-msft merged commit cd882cc into sonic-net:master Aug 2, 2023
@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