diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2017-09-15 15:34:48 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2017-09-15 15:34:48 +0200 |
commit | 584266d49fd48f567b9f11484f05a101d747db5e (patch) | |
tree | 18f0a3a6f91ad3cbfa033a1e8ce83a3c9f2c3a32 | |
parent | 51837924d85f27ccdf83db808746d1a2688685ba (diff) | |
download | openshift-584266d49fd48f567b9f11484f05a101d747db5e.tar.gz openshift-584266d49fd48f567b9f11484f05a101d747db5e.tar.bz2 openshift-584266d49fd48f567b9f11484f05a101d747db5e.tar.xz openshift-584266d49fd48f567b9f11484f05a101d747db5e.zip |
No conversion to boolean and no quoting for include_granted_scopes.
-rw-r--r-- | roles/openshift_master_facts/filter_plugins/openshift_master.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/roles/openshift_master_facts/filter_plugins/openshift_master.py b/roles/openshift_master_facts/filter_plugins/openshift_master.py index 5558f55cb..56c864ec7 100644 --- a/roles/openshift_master_facts/filter_plugins/openshift_master.py +++ b/roles/openshift_master_facts/filter_plugins/openshift_master.py @@ -380,11 +380,6 @@ class OpenIDIdentityProvider(IdentityProviderOauthBase): if 'extra_authorize_parameters' in self._idp: self._idp['extraAuthorizeParameters'] = self._idp.pop('extra_authorize_parameters') - if 'extraAuthorizeParameters' in self._idp: - if 'include_granted_scopes' in self._idp['extraAuthorizeParameters']: - val = ansible_bool(self._idp['extraAuthorizeParameters'].pop('include_granted_scopes')) - self._idp['extraAuthorizeParameters']['include_granted_scopes'] = '"true"' if val else '"false"' - def validate(self): ''' validate this idp instance ''' IdentityProviderOauthBase.validate(self) |