Skip to content

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

Merged
lguohan merged 3 commits intosonic-net:masterfrom
pra-moh:correcttelscript
Nov 23, 2019
Merged

[telemetry.sh] Fix string null check with special characters by adding quotes#3810
lguohan merged 3 commits intosonic-net:masterfrom
pra-moh:correcttelscript

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 requested a review from jleveque November 23, 2019 01:33
@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
@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 <[email protected]>

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

Co-Authored-By: Joe LeVeque <[email protected]>
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 <[email protected]>

* adding quotes for string comparison with special characters

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

Co-Authored-By: Joe LeVeque <[email protected]>

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

Co-Authored-By: Joe LeVeque <[email protected]>

RB=2370687
G=lnos-reviewers
R=pchaudha,pmao,vapatil,zxu
A=pmao
mssonicbld added a commit that referenced this pull request Aug 6, 2025
…lly (#23605)

#### Why I did it
src/sonic-swss
```
* 47792c71 - (HEAD -> 202505, origin/202505) Enhance return code handling for queryEnumCapabilitiesSai (#3810) (50 minutes ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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