Skip to content

Commit

Permalink
Syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-Mann authored Oct 24, 2024
1 parent f174e53 commit c4d9bc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/elastic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ function elastic_wait(){

i=1
while [[ "$i" -le "$retry_count" ]]; do
if [[ $(elastic_status") -eq 200 ]]; then
if [[ $(elastic_status) -eq 200 ]]; then
echo "Elasticsearch up on port ${ELASTIC_PORT:-9200}!"
exit 0
elif [[ $(elastic_status") -eq 408 ]]; then
elif [[ $(elastic_status) -eq 408 ]]; then
# 408 indicates the server is up but has not reached yellow status yet
printf ":"
else
Expand Down

0 comments on commit c4d9bc6

Please sign in to comment.