File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4444 local count=0
4545 local wait=5
4646 while [ $count -lt $retries ]; do
47- "$@"
47+ ( set +e; "$@"; ) # Run command in subshell with set -e disabled
4848 local exit_code=$?
4949 if [ $exit_code -eq 0 ]; then
5050 return 0
Original file line number Diff line number Diff line change 8080 local count=0
8181 local wait=5
8282 while [ $count -lt $retries ]; do
83- "$@"
83+ ( set +e; "$@"; ) # Run command in subshell with set -e disabled
8484 local exit_code=$?
8585 if [ $exit_code -eq 0 ]; then
8686 return 0
9494 }
9595
9696 fetch_instances() {
97- list_response=$(curl --fail-with-body -X GET \
97+ list_response=$(curl --fail-with-body -s - X GET \
9898 -H "$AUTH_HEADER" \
9999 -H "$CONTENT_TYPE_HEADER" \
100100 "$API_URL_BASE")
You can’t perform that action at this time.
0 commit comments