From a4ad924fa3c776d8d900c98f6c641ec28d3a9811 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Thu, 14 Apr 2016 11:44:14 -0400 Subject: Fix mappingMethod option in identity provider. --- filter_plugins/openshift_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3