Add forward slash to fix issue with missing query path

This commit is contained in:
weslambert authored and GitHub committed 2022-07-18 09:07:34 -04:00
1 parent f5e10430ed
commit 2914007393
1 file changed
+1 -1
@@ -30,7 +30,7 @@ echo -n "Waiting for ElasticSearch..."
COUNT=0
ELASTICSEARCH_CONNECTED="no"
while [[ "$COUNT" -le 240 ]]; do
so-elasticsearch-query -k --output /dev/null --silent --head --fail
so-elasticsearch-query / -k --output /dev/null --silent --head --fail
if [ $? -eq 0 ]; then
ELASTICSEARCH_CONNECTED="yes"
echo "connected!"