Skip to content

Commit

Permalink
update healthcheck message
Browse files Browse the repository at this point in the history
  • Loading branch information
ety001 committed Mar 25, 2022
1 parent ef23ebf commit 4b51c2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ if [[ $c1 -lt 1 ]]; then
echo Status: 500
echo Content-type:text/plain
echo
echo hive2elastic_post_not_healthy
echo hive2elastic_post not healthy
exit 1
fi

if [[ $c2 -lt 1 ]]; then
echo Status: 500
echo Content-type:text/plain
echo
echo hive2elastic_account_not_healthy
echo hive2elastic_account not healthy
exit 1
fi

echo Status: 200
echo Content-type:text/plain
echo
echo healthcheck
echo healthcheck ok
exit 0

0 comments on commit 4b51c2c

Please sign in to comment.