NIT: Fix Spelling in auth_context.py

Change-Id: I83bd63e9f576041ffdb995fe441f1a3b0b371db2
This commit is contained in:
Vishakha Agarwal 2020-06-01 15:30:09 +05:30
parent 111f0bdf12
commit 69ad01b2d9

View File

@ -371,7 +371,7 @@ class AuthContextMiddleware(provider_api.ProviderAPIMixin,
if token.domain_scoped: if token.domain_scoped:
# Domain scoped tokens should never have is_admin_project set # Domain scoped tokens should never have is_admin_project set
# Even if KSA defaults it otherwise. The two mechanisms are # Even if KSA defaults it otherwise. The two mechanisms are
# parallel; only ione or the other should be used for access. # parallel; only one or the other should be used for access.
request_context.is_admin_project = False request_context.is_admin_project = False
request_context.domain_id = token.domain_id request_context.domain_id = token.domain_id
request_context.domain_name = token.domain['name'] request_context.domain_name = token.domain['name']