Skip to content

Commit 31afde6

Browse files
tardypshin-
authored andcommitted
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 <[email protected]>
1 parent 742daa2 commit 31afde6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(self, base_url=None, version=None,
8686
tls.configure_client(self)
8787
elif tls:
8888
self._custom_adapter = ssladapter.SSLAdapter(
89-
num_pools=num_pools
89+
pool_connections=num_pools
9090
)
9191
self.mount('https://', self._custom_adapter)
9292
self.base_url = base_url

0 commit comments

Comments
 (0)