diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-11-06 12:48:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-06 12:48:15 -0500 |
commit | d3301fb655988df1f8fb0b9dcf450396690ed951 (patch) | |
tree | 2f0d212c5bde1412238a3e0e925e1ca41d4116f8 /roles | |
parent | 45331a37044dc0719d4bb89fe77a79aedd30e379 (diff) | |
parent | 6790200467b2b67e975847febefc3d7726008570 (diff) | |
download | openshift-d3301fb655988df1f8fb0b9dcf450396690ed951.tar.gz openshift-d3301fb655988df1f8fb0b9dcf450396690ed951.tar.bz2 openshift-d3301fb655988df1f8fb0b9dcf450396690ed951.tar.xz openshift-d3301fb655988df1f8fb0b9dcf450396690ed951.zip |
Merge pull request #5988 from mgugino-upstream-stage/github-auth-fix
Fix github auth validation
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_master_facts/filter_plugins/openshift_master.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/roles/openshift_master_facts/filter_plugins/openshift_master.py b/roles/openshift_master_facts/filter_plugins/openshift_master.py index a4f410296..69fecc7d2 100644 --- a/roles/openshift_master_facts/filter_plugins/openshift_master.py +++ b/roles/openshift_master_facts/filter_plugins/openshift_master.py @@ -326,10 +326,8 @@ class IdentityProviderOauthBase(IdentityProviderBase): self._required += [['clientID', 'client_id'], ['clientSecret', 'client_secret']] def validate(self): - ''' validate this idp instance ''' - if self.challenge: - raise errors.AnsibleFilterError("|failed provider {0} does not " - "allow challenge authentication".format(self.__class__.__name__)) + ''' validate an instance of this idp class ''' + pass class OpenIDIdentityProvider(IdentityProviderOauthBase): |