fix request

This commit is contained in:
Henning Jacobs
2017-01-14 20:32:24 +01:00
parent be7063a187
commit 7e91024f68
2 changed files with 2 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ def map_container(cont: dict, pod: dict):
def request(cluster, path, **kwargs):
if 'timeout' not in kwargs:
# sane default timeout
kwargs['time'] = 5
kwargs['timeout'] = 5
return session.get(urljoin(cluster.api_server_url, path), auth=cluster.auth, verify=cluster.ssl_ca_cert, **kwargs)