summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Tardy <tardyp@gmail.com>2016-10-04 13:13:04 +0200
committerPierre Tardy <tardyp@gmail.com>2016-10-04 13:13:31 +0200
commit8239032463899af665b690aa0890941c1909f399 (patch)
tree63f77967d490db40eda6b4f47aeeb6e6604d16a0
parent89a1ffa77bcfdfba44b4713c1e296e5e3143126a (diff)
downloaddocker-py-8239032463899af665b690aa0890941c1909f399.tar.gz
fix for got an unexpected keyword argument 'num_pools'
requests's HTTPAdapter API is pool_connections for number of connection of the pool Signed-off-by: Pierre Tardy <tardyp@gmail.com>
-rw-r--r--docker/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/client.py b/docker/client.py
index 23eb529..c16f314 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -86,7 +86,7 @@ class Client(
tls.configure_client(self)
elif tls:
self._custom_adapter = ssladapter.SSLAdapter(
- num_pools=num_pools
+ pool_connections=num_pools
)
self.mount('https://', self._custom_adapter)
self.base_url = base_url