Merge "heat_docker: Require docker instead of docker-py"

This commit is contained in:
Zuul 2018-02-19 10:39:59 +00:00 committed by Gerrit Code Review
commit c38c70f003
2 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -1 +1 @@
docker-py>=0.2.2
docker>=2.4.2 # Apache-2.0