summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrewbogott <abogott@wikimedia.org>2017-06-02 05:49:26 -0500
committerRob Cresswell <robert.cresswell@outlook.com>2017-06-04 16:29:16 +0000
commitbd8b21b9661a27a2215ae24ce9c4aea308ae5e4a (patch)
treea0403172d395df9cdfe559377479bfb57b17df4b
parent843b4754f6d83910b5463421659ccb3e3feaf75d (diff)
keystone api: Fix a typo that broke the check for MULTIDOMAIN_SUPPORT10.0.5stable/newton
Notes
Notes (review): Code-Review+1: Akihiro Motoki <amotoki@gmail.com> Code-Review+1: Julie Gravel <julie.gravel@suse.com> Code-Review+1: Tatiana Ovchinnikova <t.v.ovtchinnikova@gmail.com> Code-Review+1: Debo Zhang <zhangdebo@inspur.com> Code-Review+2: Rob Cresswell <robert.cresswell@outlook.com> Workflow+1: Rob Cresswell <robert.cresswell@outlook.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 15 Jun 2017 12:12:33 +0000 Reviewed-on: https://review.openstack.org/470766 Project: openstack/horizon Branch: refs/heads/stable/newton
-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 c4cec21..00f328a 100644
--- a/openstack_dashboard/api/keystone.py
+++ b/openstack_dashboard/api/keystone.py
@@ -149,7 +149,7 @@ def keystoneclient(request, admin=False):
149 user = request.user 149 user = request.user
150 token_id = user.token.id 150 token_id = user.token.id
151 151
152 if is_multi_domain_enabled: 152 if is_multi_domain_enabled():
153 # Cloud Admin, Domain Admin or Mixed Domain Admin 153 # Cloud Admin, Domain Admin or Mixed Domain Admin
154 if is_domain_admin(request): 154 if is_domain_admin(request):
155 domain_token = request.session.get('domain_token') 155 domain_token = request.session.get('domain_token')