From e9430bd633ebb2cc284498fc568ecaaa4452fc26 Mon Sep 17 00:00:00 2001 From: lander86 <40528366+lander86@users.noreply.github.com> Date: Wed, 23 Aug 2023 12:17:45 +0200 Subject: [PATCH] fix typo in entrypoint (#51) Signed-off-by: lander86 --- dockerfiles/evmapp/entrypoint.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dockerfiles/evmapp/entrypoint.sh b/dockerfiles/evmapp/entrypoint.sh index 459d847..2a31e1f 100755 --- a/dockerfiles/evmapp/entrypoint.sh +++ b/dockerfiles/evmapp/entrypoint.sh @@ -125,11 +125,12 @@ if [ "${SCNODE_CERT_SIGNING_ENABLED:-}" = "true" ]; then echo "Error: When SCNODE_CERT_SIGNING_ENABLED=true and SCNODE_REMOTE_KEY_MANAGER_ENABLED=true SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS needs to be set." sleep 5 exit 1 - if [ "${SCNODE_REMOTE_KEY_MANAGER_ENABLED:-}" = "true" ] && [ -n "${SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS:-}" ]; then - # setting SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS if provided - REMOTE_KEY_MANAGER_PARALLEL_REQUESTS="" - REMOTE_KEY_MANAGER_PARALLEL_REQUESTS="$(echo -en "\n numOfParallelRequests = ${SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS}")" - export REMOTE_KEY_MANAGER_PARALLEL_REQUESTS + if [ "${SCNODE_REMOTE_KEY_MANAGER_ENABLED:-}" = "true" ] && [ -n "${SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS:-}" ]; then + # setting SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS if provided + REMOTE_KEY_MANAGER_PARALLEL_REQUESTS="" + REMOTE_KEY_MANAGER_PARALLEL_REQUESTS="$(echo -en "\n numOfParallelRequests = ${SCNODE_REMOTE_KEY_MANAGER_PARALLEL_REQUESTS}")" + export REMOTE_KEY_MANAGER_PARALLEL_REQUESTS + fi fi if [ "${SCNODE_REMOTE_KEY_MANAGER_ENABLED:-}" = "true" ] && [ -n "${SCNODE_REMOTE_KEY_MANAGER_ADDRESS:-}" ]; then