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

[telemetry.sh] Fix string null check with special characters by adding quotes #3810

Merged
merged 3 commits into from
Nov 23, 2019

Conversation

pra-moh
Copy link
Contributor

@pra-moh pra-moh commented Nov 23, 2019

- What I did
Adding quotes in string null check as it contains complete cert key and path. The corresponding string generated contains special characters
- How I did it
Verified on device
- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@pra-moh pra-moh changed the title adding quotes for string comparison with special characters [telemetry.sh] Fix string comparison with special characters by adding quotes Nov 23, 2019
@pra-moh pra-moh changed the title [telemetry.sh] Fix string comparison with special characters by adding quotes [telemetry.sh] Fix string null check with special characters by adding quotes Nov 23, 2019
dockers/docker-sonic-telemetry/telemetry.sh Outdated Show resolved Hide resolved
dockers/docker-sonic-telemetry/telemetry.sh Outdated Show resolved Hide resolved
pra-moh and others added 2 commits November 22, 2019 17:58
Co-Authored-By: Joe LeVeque <jleveque@users.noreply.github.com>
Co-Authored-By: Joe LeVeque <jleveque@users.noreply.github.com>
@lguohan lguohan merged commit 65f7da8 into sonic-net:master Nov 23, 2019
zhenggen-xu pushed a commit to zhenggen-xu/sonic-buildimage that referenced this pull request Jan 10, 2020
…g quotes (sonic-net#3810)

* adding quotes for string comparison with special characters

* Update dockers/docker-sonic-telemetry/telemetry.sh

Co-Authored-By: Joe LeVeque <jleveque@users.noreply.github.com>

* Update dockers/docker-sonic-telemetry/telemetry.sh

Co-Authored-By: Joe LeVeque <jleveque@users.noreply.github.com>
praveen-li pushed a commit to praveen-li/sonic-buildimage that referenced this pull request Feb 9, 2021
…g quotes (sonic-net#3810)

Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>

* adding quotes for string comparison with special characters

* Update dockers/docker-sonic-telemetry/telemetry.sh

Co-Authored-By: Joe LeVeque <jleveque@users.noreply.github.com>

* Update dockers/docker-sonic-telemetry/telemetry.sh

Co-Authored-By: Joe LeVeque <jleveque@users.noreply.github.com>

RB=2370687
G=lnos-reviewers
R=pchaudha,pmao,vapatil,zxu
A=pmao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants