diff --git a/scripts/aws/eks-pod/entrypoint.sh b/scripts/aws/eks-pod/entrypoint.sh index ac94de2dc..6412947f0 100644 --- a/scripts/aws/eks-pod/entrypoint.sh +++ b/scripts/aws/eks-pod/entrypoint.sh @@ -69,7 +69,7 @@ function wait_for_config() { } function update_config() { - set +x 2>/dev/null; IDENTITY_SERVICE_CONFIG=$(curl -s http://127.0.0.1:27015/getConfig); set -x; } + { set +x 2>/dev/null; IDENTITY_SERVICE_CONFIG=$(curl -s http://127.0.0.1:27015/getConfig); set -x; } if jq -e . >/dev/null 2>&1 <<<"${IDENTITY_SERVICE_CONFIG}"; then echo "Identity service returned valid config" else