summaryrefslogtreecommitdiff
path: root/docker/client.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2016-10-04 12:19:33 -0700
committerJoffrey F <joffrey@docker.com>2016-10-04 12:19:33 -0700
commitb65de73afea947cb65cc79c58acf414604ea6b16 (patch)
treebd485d0fe2ba359c0eeb9dbab38cf21712fe86dd /docker/client.py
parent8239032463899af665b690aa0890941c1909f399 (diff)
downloaddocker-py-b65de73afea947cb65cc79c58acf414604ea6b16.tar.gz
Update adapters to use pool_connections instead of num_pools
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/client.py')
-rw-r--r--docker/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/client.py b/docker/client.py
index c16f314..aba066b 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -60,7 +60,7 @@ class Client(
)
if base_url.startswith('http+unix://'):
self._custom_adapter = UnixAdapter(
- base_url, timeout, num_pools=num_pools
+ base_url, timeout, pool_connections=num_pools
)
self.mount('http+docker://', self._custom_adapter)
self._unmount('http://', 'https://')
@@ -72,7 +72,7 @@ class Client(
)
try:
self._custom_adapter = NpipeAdapter(
- base_url, timeout, num_pools=num_pools
+ base_url, timeout, pool_connections=num_pools
)
except NameError:
raise errors.DockerException(