You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/08/11 04:53:21 UTC
[5/9] libcloud git commit: pass the real version and not a default one
pass the real version and not a default one
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/03f5d803
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/03f5d803
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/03f5d803
Branch: refs/heads/trunk
Commit: 03f5d80393b3a005514d06be7fc50a2683923a4e
Parents: 26670ab
Author: johnnyWalnut <ik...@gmail.com>
Authored: Fri Jun 2 14:05:19 2017 +0200
Committer: Anthony Shaw <an...@apache.org>
Committed: Fri Aug 11 14:43:39 2017 +1000
----------------------------------------------------------------------
libcloud/container/drivers/docker.py | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/03f5d803/libcloud/container/drivers/docker.py
----------------------------------------------------------------------
diff --git a/libcloud/container/drivers/docker.py b/libcloud/container/drivers/docker.py
index 5b9536b..b69b1ee 100644
--- a/libcloud/container/drivers/docker.py
+++ b/libcloud/container/drivers/docker.py
@@ -247,6 +247,8 @@ class DockerContainerDriver(ContainerDriver):
self.connection.secure = secure
self.connection.host = host
self.connection.port = port
+ # set API version
+ self.version = self._get_api_version()
def _ex_connection_class_kwargs(self):
kwargs = {}