Skip to content

Commit

Permalink
Update allas_conf
Browse files Browse the repository at this point in the history
  • Loading branch information
gitjopa committed Mar 18, 2024
1 parent f645914 commit a1679de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allas_conf
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ if [ -z "$OS_PROJECT_NAME" ]; then
# get an unscoped token
local curl_out=`curl -sS -X POST -D - -d '@-' -H 'Content-Type: application/json' "$OS_AUTH_URL/auth/tokens" 2>&1 <<< "$os_auth_data_unscoped"`
local curl_exit="$?"
local curl_status=`echo "$curl_out" | grep '^HTTP/[0-9\.]* 201 Created' | wc -l | tr -d ' '`
local curl_status=`echo "$curl_out" | grep -i '^HTTP/[0-9\.]* 201 Created' | wc -l | tr -d ' '`
if [ "$curl_exit" != "0" -o "$curl_status" != "1" ]; then
echo "FAILED" >&2
echo "$curl_out" | grep -E '^HTTP|{|}|^curl:' >&2
Expand Down

0 comments on commit a1679de

Please sign in to comment.