Skip to content

Commit

Permalink
[telemetry] Fix the indent issue.
Browse files Browse the repository at this point in the history
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
  • Loading branch information
yozhao101 committed Dec 21, 2021
1 parent 7c3c7d3 commit 90d9d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockers/docker-sonic-telemetry/telemetry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ do
else
logger "Failed to retrieve server certificate, key or Root CA certificate from ACMS!"
fi
elif [ -n "$X509" ]; then
elif [ -n "$X509" ]; then
SERVER_CRT=$(echo $X509 | jq -r '.server_crt')
SERVER_KEY=$(echo $X509 | jq -r '.server_key')
if [ -z $SERVER_CRT ] || [ -z $SERVER_KEY ]; then
if [ -z $SERVER_CRT ] || [ -z $SERVER_KEY ]; then
TELEMETRY_ARGS+=" --insecure"
else
TELEMETRY_ARGS+=" --server_crt $SERVER_CRT --server_key $SERVER_KEY "
Expand Down

0 comments on commit 90d9d03

Please sign in to comment.