fixed 1832 internal Bash function used as a varibale in test
@@ -295,7 +295,7 @@ for LOOP in $(seq ${MAX_RETRIES}); do
echo ${RESULT}
RANDOM_RESULT=`echo ${RESULT} | jq '.[0].reading.randomwalk // empty'`
EMA=`echo ${RESULT} | jq '.[0].reading.ema // empty'`
- if [[ -n "RANDOM_RESULT" ]] && [[ -n "$EMA" ]]; then break; fi
+ if [[ -n "$RANDOM_RESULT" ]] && [[ -n "$EMA" ]]; then break; fi
done
if [[ ${LOOP} -eq ${MAX_RETRIES} ]]
then
