Elasticsearch: Fix typos in cluster wait script

This fixes typos in the cluster wait script to ensure the messages
reflect the types of nodes being checked

Change-Id: I5964b5517b3099fbfe8d574b2ca869d366c9bb17
Signed-off-by: Steve Wilkerson <sw5822@att.com>
This commit is contained in:
Steve Wilkerson 2019-05-29 09:58:44 -05:00
parent 9efb353b83
commit 8cb4051fc8

View File

@ -27,9 +27,9 @@ function check_master_nodes() {
then then
if [ "$numMasterNodes" -eq 0 ] if [ "$numMasterNodes" -eq 0 ]
then then
echo "No Elasticsearch data nodes account for: 0/${expectedMasterNodes}" echo "No Elasticsearch master nodes accounted for: 0/${expectedMasterNodes}"
else else
echo "Not all Elasticsearch data nodes accounted for and ready: (${numMasterNodes} / ${expectedMasterNodes})" echo "Not all Elasticsearch master nodes accounted for and ready: (${numMasterNodes} / ${expectedMasterNodes})"
echo "$currentMasterNodes" echo "$currentMasterNodes"
echo "Sleeping for 10 seconds before next check" echo "Sleeping for 10 seconds before next check"
echo "" echo ""
@ -81,9 +81,9 @@ function check_client_nodes() {
then then
if [ "$numClientNodes" -eq 0 ] if [ "$numClientNodes" -eq 0 ]
then then
echo "No Elasticsearch data nodes account for: 0/${expectedClientNodes}" echo "No Elasticsearch client nodes accounted for: 0/${expectedClientNodes}"
else else
echo "Not all Elasticsearch data nodes accounted for and ready: (${numClientNodes} / ${expectedClientNodes})" echo "Not all Elasticsearch client nodes accounted for and ready: (${numClientNodes} / ${expectedClientNodes})"
echo "$currentClientNodes" echo "$currentClientNodes"
echo "Sleeping for 10 seconds before next check" echo "Sleeping for 10 seconds before next check"
echo "" echo ""