fix USER_CODE bug in assert-user

Change-Id: I4a1668486fa89d18d9741154b183ab537e4cda9f
This commit is contained in:
Jerry Zhao 2014-11-29 01:08:57 -08:00
parent 0cf3bd0de4
commit d4a46e9a60
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ fi
echo "Checking for user $USERCODE"
#TODO: fix after bug 1392035 in keystone client
USER_ID=$(keystone user-list | awk '{print tolower($0)}' |grep " ${USER_CODE,,} " |awk '{print$2}')
USER_ID=$(keystone user-list | awk '{print tolower($0)}' |grep " ${USERCODE,,} " |awk '{print$2}')
if [ -z "$USER_ID" ]; then
PASSWORD=''
if [ -e os-asserted-users ]; then