GateIssue:Remove KEYSTONE_CATALOG_BACKEND var

KEYSTONE_CATALOG_BACKEND has been removed in devstack as part of
I7c66e1d8d65f562596543ed8ca402dba8c8ea271 . This commit updates the
same in congress.

Closes-Bug:#1644481
Change-Id: I91beda3cf932c01e23a2c9b51d9a5c211e0b10cb
This commit is contained in:
Anusha Ramineni 2016-11-24 15:18:38 +05:30
parent af45cca066
commit a34e3e7e1a

View File

@ -146,16 +146,13 @@ function create_congress_accounts {
create_service_user "congress" create_service_user "congress"
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then local congress_service=$(get_or_create_service "congress" \
"policy" "Congress Service")
local congress_service=$(get_or_create_service "congress" \ get_or_create_endpoint $congress_service \
"policy" "Congress Service") "$REGION_NAME" \
get_or_create_endpoint $congress_service \ "http://$SERVICE_HOST:$CONGRESS_PORT/" \
"$REGION_NAME" \ "http://$SERVICE_HOST:$CONGRESS_PORT/" \
"http://$SERVICE_HOST:$CONGRESS_PORT/" \ "http://$SERVICE_HOST:$CONGRESS_PORT/"
"http://$SERVICE_HOST:$CONGRESS_PORT/" \
"http://$SERVICE_HOST:$CONGRESS_PORT/"
fi
fi fi
} }