From 90d9d03b25d650635920ab9cf2019998c69b9b08 Mon Sep 17 00:00:00 2001 From: Yong Zhao Date: Mon, 20 Dec 2021 16:50:31 -0800 Subject: [PATCH] [telemetry] Fix the indent issue. Signed-off-by: Yong Zhao --- dockers/docker-sonic-telemetry/telemetry.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockers/docker-sonic-telemetry/telemetry.sh b/dockers/docker-sonic-telemetry/telemetry.sh index 47800c73e105..a5d6c072a7f1 100755 --- a/dockers/docker-sonic-telemetry/telemetry.sh +++ b/dockers/docker-sonic-telemetry/telemetry.sh @@ -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 "