Skip to content

Commit

Permalink
Fixing bug in entrypoint (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysibirski authored Aug 9, 2023
1 parent aa68b43 commit 9bf8f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/evmapp/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ 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_REQUEST_TIMEOUT needs to be set."
sleep 5
exit 1
else
elif [ "${SCNODE_REMOTE_KEY_MANAGER_ENABLED:-}" = "true" ] && [ -n "${SCNODE_REMOTE_KEY_MANAGER_REQUEST_TIMEOUT:-}" ]; then
# setting SCNODE_REMOTE_KEY_MANAGER_REQUEST_TIMEOUT if provided
REMOTE_KEY_MANAGER_REQUEST_TIMEOUT=""
REMOTE_KEY_MANAGER_REQUEST_TIMEOUT="$(echo -en "\n requestTimeout = ${SCNODE_REMOTE_KEY_MANAGER_REQUEST_TIMEOUT}")"
Expand All @@ -125,7 +125,7 @@ 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
else
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}")"
Expand Down

0 comments on commit 9bf8f01

Please sign in to comment.