Skip to content

Commit

Permalink
Merge pull request #147 from ba-st/fix_healthcheck_env_var
Browse files Browse the repository at this point in the history
Fix env var name
  • Loading branch information
gcotelli authored Feb 18, 2022
2 parents db356e4 + d845758 commit 0632294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/api-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ termination_handler() {
--header "Content-Type:application/json" \
--header "Accept: application/json" \
--data '{"jsonrpc": "2.0" ,"method": "shutdown"}' \
http://localhost:"${STARGATE_PORT}"/operations/application-control
http://localhost:"${STARGATE__PORT}"/operations/application-control
wait "$pid"
fi
exit 143; # 128 + 15 -- SIGTERM
Expand Down
2 changes: 1 addition & 1 deletion docker/health-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
curl --fail --request POST \
--header "Authorization: Bearer $HEALTH_CHECK_TOKEN" \
--header "Accept: application/vnd.stargate.health-check.summary+json;version=1.0.0" \
http://localhost:"$STARGATE_PORT"/operations/health-check || exit 1
http://localhost:"$STARGATE__PORT"/operations/health-check || exit 1

0 comments on commit 0632294

Please sign in to comment.