Skip to content
Snippets Groups Projects
Commit 0e7801c7872f authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

Backout sur la révision : 8b89c9943c1f

parent 9ccf06687612
No related branches found
No related tags found
No related merge requests found
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
c.get('odoo_scripts', 'postgresql_version')) or '9.6' c.get('odoo_scripts', 'postgresql_version')) or '9.6'
logging.debug("Docker image: %s", image) logging.debug("Docker image: %s", image)
# detect if docker image already exists # detect if docker image already exists
docker_client = docker.APIClient(base_url='unix://var/run/docker.sock') docker_client = docker.Client(base_url='unix://var/run/docker.sock')
image_list = docker_client.images(name=image, quiet=True) image_list = docker_client.images(name=image, quiet=True)
if not image_list: if not image_list:
logging.warn("Image %s does not exist", image) logging.warn("Image %s does not exist", image)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment