summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/heat_docker/heat_docker/resources/docker_container.py4
-rw-r--r--contrib/heat_docker/requirements.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/heat_docker/heat_docker/resources/docker_container.py b/contrib/heat_docker/heat_docker/resources/docker_container.py
index 3c0368b90..b21225da6 100644
--- a/contrib/heat_docker/heat_docker/resources/docker_container.py
+++ b/contrib/heat_docker/heat_docker/resources/docker_container.py
@@ -332,9 +332,9 @@ class DockerContainer(resource.Resource):
if DOCKER_INSTALLED:
endpoint = self.properties.get(self.DOCKER_ENDPOINT)
if endpoint:
- client = docker.Client(endpoint)
+ client = docker.APIClient(endpoint)
else:
- client = docker.Client()
+ client = docker.APIClient()
return client
def _parse_networkinfo_ports(self, networkinfo):
diff --git a/contrib/heat_docker/requirements.txt b/contrib/heat_docker/requirements.txt
index ef8c26370..b72182632 100644
--- a/contrib/heat_docker/requirements.txt
+++ b/contrib/heat_docker/requirements.txt
@@ -1 +1 @@
-docker-py>=0.2.2
+docker>=2.4.2 # Apache-2.0