summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrewbogott <abogott@wikimedia.org>2017-06-02 05:49:26 -0500
committerandrewbogott <abogott@wikimedia.org>2017-06-02 05:53:28 -0500
commit0c775b73b365207e493481fabbfce37de34c4168 (patch)
tree83f96e63911a49c1ff07abd7c58f84376555fddd
parentd6aca627bbdaf1b2f89293540a70e872458bda5b (diff)
keystone api: Fix a typo that broke the check for MULTIDOMAIN_SUPPORT
Notes
Notes (review): Code-Review+1: Julie Gravel <julie.gravel@suse.com> Code-Review+1: Lucas H. Xu <xuh@bu.edu> Code-Review+1: Debo Zhang <zhangdebo@inspur.com> Code-Review+2: Ying Zuo <yinzuo@cisco.com> Workflow+1: Ying Zuo <yinzuo@cisco.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Sun, 04 Jun 2017 16:25:37 +0000 Reviewed-on: https://review.openstack.org/470331 Project: openstack/horizon Branch: refs/heads/master
-rw-r--r--openstack_dashboard/api/keystone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/api/keystone.py b/openstack_dashboard/api/keystone.py
index e6ca1d2..1ca7ffd 100644
--- a/openstack_dashboard/api/keystone.py
+++ b/openstack_dashboard/api/keystone.py
@@ -158,7 +158,7 @@ def keystoneclient(request, admin=False):
158 user = request.user 158 user = request.user
159 token_id = user.token.id 159 token_id = user.token.id
160 160
161 if is_multi_domain_enabled: 161 if is_multi_domain_enabled():
162 # Cloud Admin, Domain Admin or Mixed Domain Admin 162 # Cloud Admin, Domain Admin or Mixed Domain Admin
163 if is_domain_admin(request): 163 if is_domain_admin(request):
164 domain_token = request.session.get('domain_token') 164 domain_token = request.session.get('domain_token')