Skip to content

Commit

Permalink
Update api-reconfigure-example-birdv2.sh to add --fail to success cur…
Browse files Browse the repository at this point in the history
…l call back
  • Loading branch information
barryo committed Jun 16, 2024
1 parent f58d5bf commit da32267
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ fi
###########################################################################################

# tell IXP Manager the router has been updated:
cmd="curl -s -X POST -H \"X-IXP-Manager-API-Key: ${APIKEY}\" ${URL_DONE}/${handle} >/dev/null"
cmd="curl --fail -s -X POST -H \"X-IXP-Manager-API-Key: ${APIKEY}\" ${URL_DONE}/${handle} >/dev/null"
if [[ $DEBUG -eq 1 ]]; then echo $cmd; fi

until eval $cmd; do
Expand Down

0 comments on commit da32267

Please sign in to comment.