summaryrefslogtreecommitdiffstats
path: root/filter_plugins
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-04-14 11:44:14 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-04-14 11:44:14 -0400
commita4ad924fa3c776d8d900c98f6c641ec28d3a9811 (patch)
treebabf4c481dab71a8a441888e0030f1dc8fa93a52 /filter_plugins
parent40d95679b7b789e404d39c5642753a1ad2307adf (diff)
downloadopenshift-a4ad924fa3c776d8d900c98f6c641ec28d3a9811.tar.gz
openshift-a4ad924fa3c776d8d900c98f6c641ec28d3a9811.tar.bz2
openshift-a4ad924fa3c776d8d900c98f6c641ec28d3a9811.tar.xz
openshift-a4ad924fa3c776d8d900c98f6c641ec28d3a9811.zip
Fix mappingMethod option in identity provider.
Diffstat (limited to 'filter_plugins')
-rw-r--r--filter_plugins/openshift_master.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter_plugins/openshift_master.py b/filter_plugins/openshift_master.py
index d0fb98ec3..34d9aef75 100644
--- a/filter_plugins/openshift_master.py
+++ b/filter_plugins/openshift_master.py
@@ -57,7 +57,7 @@ class IdentityProviderBase(object):
mapping_method = None
for key in mm_keys:
if key in self._idp:
- mapping_method = self._idp[key]
+ mapping_method = self._idp.pop(key)
if mapping_method is None:
mapping_method = self.get_default('mappingMethod')
self.mapping_method = mapping_method