Merge "heat_docker: Require docker instead of docker-py"
This commit is contained in:
commit
c38c70f003
@ -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):
|
||||
|
@ -1 +1 @@
|
||||
docker-py>=0.2.2
|
||||
docker>=2.4.2 # Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user