Update url_for parameter for domain policy check
Now that the keystoneauth package is being used, we need to update calls to url_for to use the "interface" parameter instead of "endpoint_type". Change-Id: I441e9f085569f76115d235a210ebb5f296208c69 Closes-Bug: #1532308
This commit is contained in:
@@ -204,7 +204,7 @@ def _domain_to_credentials(request, user):
|
|||||||
return None
|
return None
|
||||||
domain_user = auth_user.create_user_from_token(
|
domain_user = auth_user.create_user_from_token(
|
||||||
request, auth_user.Token(domain_auth_ref),
|
request, auth_user.Token(domain_auth_ref),
|
||||||
domain_auth_ref.service_catalog.url_for(endpoint_type=None))
|
domain_auth_ref.service_catalog.url_for(interface=None))
|
||||||
user._domain_credentials = _user_to_credentials(domain_user)
|
user._domain_credentials = _user_to_credentials(domain_user)
|
||||||
|
|
||||||
# uses the domain_id associated with the domain_user
|
# uses the domain_id associated with the domain_user
|
||||||
|
|||||||
Reference in New Issue
Block a user