Skip to content

Commit

Permalink
fix typo in entrypoint (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: lander86 <[email protected]>
  • Loading branch information
lander86 authored Aug 23, 2023
1 parent 9bf8f01 commit e9430bd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dockerfiles/evmapp/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9430bd

Please sign in to comment.