Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rackspace updated their auth API to reverse the order of the return p…

…arameters, making RSDNS fail w/o this change...
  • Loading branch information...
commit bc4a738ffc615f70d58ef6c5cf9b85445efa594f 1 parent c4c3bd3
@ehagerty ehagerty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/auth.sh
View
4 lib/auth.sh
@@ -42,8 +42,8 @@ function get_auth () {
EC=`echo $AUTH|awk -F, '{print $1}'`
if [[ $EC == "204" ]]; then
- TOKEN=`echo $AUTH|awk -F, '{print $2}'`
- MGMTSVR=`echo $AUTH|awk -F, '{print $3}'`
+ TOKEN=`echo $AUTH|awk -F, '{print $3}'`
+ MGMTSVR=`echo $AUTH|awk -F, '{print $2}'`
if [[ ! -n $USERID ]]; then
USERID=`echo $MGMTSVR | awk -F "/" '{print $5}'`
fi
Please sign in to comment.
Something went wrong with that request. Please try again.