From 536bfb521ab1a0249c64a65c91d39647b47a6cbb Mon Sep 17 00:00:00 2001 From: Michael Schuett Date: Tue, 7 Jul 2015 09:44:27 -0400 Subject: [PATCH] remove .geturl() Can't call geturl on a string. --- lib/ansible/modules/cloud/docker/docker_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/docker/docker_image.py b/lib/ansible/modules/cloud/docker/docker_image.py index 1800dfa28d..6f41755c92 100644 --- a/lib/ansible/modules/cloud/docker/docker_image.py +++ b/lib/ansible/modules/cloud/docker/docker_image.py @@ -276,7 +276,7 @@ class DockerImageManager: tls_config = docker.tls.TLSConfig(**params) self.client = docker.Client( - base_url=docker_url.geturl(), + base_url=docker_url, version=module.params.get('docker_api_version'), timeout=module.params.get('timeout'), tls=tls_config)