Skip to content

Commit

Permalink
Merge pull request #25 from mattmahoneyrh/KIALI-2620
Browse files Browse the repository at this point in the history
KIALI-2620 - Fix No-Auth Login
  • Loading branch information
Guilherme Baufaker Rêgo authored Mar 22, 2019
2 parents 3a60f10 + 515f6f2 commit f8be83e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kiali/api_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class KialiNoAuthApiConnector(KialiApiConnector):
Creates new client for Kiali based on HTTP
"""

def __init__(self, hostname, port, scheme, verify):
def __init__(self, hostname, port, scheme, verify, max_retries):
super().__init__(hostname=hostname, port=port, scheme=scheme,
auth=None, verify=verify)
auth=None, verify=verify, max_retries=max_retries)

3 changes: 2 additions & 1 deletion kiali/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def __init__(self, hostname='localhost', scheme='https', port='443', auth_type='


if auth_type == 'no-auth':
self.api_connector = KialiNoAuthApiConnector(hostname=hostname, scheme=scheme, port=port, verify=verify)
#self.api_connector = KialiNoAuthApiConnector(hostname=hostname, scheme=scheme, port=port, verify=verify, max_retries=max_retries)
self.api_connector = KialiNoAuthApiConnector(hostname=hostname, scheme=scheme, port=port, verify=verify, max_retries=max_retries)

# Facade Pattern
def request(self, method_name=None, path=None, params=None, plain_url=None, http_method='GET', data=None):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
name = kiali-client
author = Guilherme Baufaker Rego
version = 0.8.1
version = 0.8.2
author_email = "gbaufake@redhat.com
summary = Python client to communicate with Kiali server over HTTP(S)
description-file =
Expand Down

0 comments on commit f8be83e

Please sign in to comment.