Skip to content

Commit

Permalink
Merge pull request #33 from bpicolo/32_fix_verify_ssl_false
Browse files Browse the repository at this point in the history
Fix TCPConnection for verify_ssl = false
  • Loading branch information
tomplus authored Jul 31, 2018
2 parents 6673e8d + 23ad462 commit ba7bbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes_asyncio/client/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, configuration, pools_size=4, maxsize=4):

connector = aiohttp.TCPConnector(
limit=maxsize,
ssl_context=ssl_context,
ssl_context=ssl_context if configuration.verify_ssl else None,
verify_ssl=configuration.verify_ssl
)

Expand Down

0 comments on commit ba7bbe2

Please sign in to comment.