Browse Source

Fix variable name

master
Alarig Le Lay 4 years ago
parent
commit
c64603b284
  1. 2
      creationRoutesVM.sh

2
creationRoutesVM.sh

@ -137,7 +137,7 @@ if [ ${FEED_CACHE} = 1 ]; then
INFOS_RANGES_V6=$(${CURL} --header "Content-type: application/x-www-form-urlencoded" --header "token: $TOKEN" -X GET ${URL}/subnets/${ID_RANGE_V6}/slaves/)
CODE_RETOUR_INFOS_RANGES_V6=$(echo ${INFOS_RANGES_V6} | jq '.code')
if [ ${INFOS_RANGES_V6} != 200 ]; then
if [ ${CODE_RETOUR_INFOS_RANGES_V6} != 200 ]; then
write_log FATAL "Wrong code returned for IPv4 range ${ID_RANGE_V6}: ${INFOS_RANGES_V6}"
exit 1
fi

Loading…
Cancel
Save