}
-set_es_indices() +check_es_ready() {
- find $CCI_SRC/sbin/ -name "es-*-mapping.sh" -exec sh {} ;
- port=$1
- for num in {1..30}
no need so many times,
- do
curl -s localhost:$port > /dev/null
if [ $? == "0" ]; then
break
how about use return?
Thanks, Luan Shengde
else
sleep 2
fi
- done
}
push_image()
2.23.0