change key,secret default values from None to '' otherwise you cannot call 
driver(host='https://198.61.239.128', port=4243, key_file='key.pem', 
cert_file='cert.pem')


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/5496a0a1
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/5496a0a1
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/5496a0a1

Branch: refs/heads/trunk
Commit: 5496a0a1ca81062a60930d0abb7e02e43b69b938
Parents: 2272c93
Author: johnnyWalnut <ikaryd...@gmail.com>
Authored: Fri Jun 2 13:59:38 2017 +0200
Committer: Anthony Shaw <anthonys...@apache.org>
Committed: Fri Aug 11 14:43:39 2017 +1000

----------------------------------------------------------------------
 libcloud/container/drivers/docker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/5496a0a1/libcloud/container/drivers/docker.py
----------------------------------------------------------------------
diff --git a/libcloud/container/drivers/docker.py 
b/libcloud/container/drivers/docker.py
index 7b9d28b..e258c42 100644
--- a/libcloud/container/drivers/docker.py
+++ b/libcloud/container/drivers/docker.py
@@ -179,7 +179,7 @@ class DockerContainerDriver(ContainerDriver):
     supports_clusters = False
     version = '1.24'
 
-    def __init__(self, key=None, secret=None, secure=False, host='localhost',
+    def __init__(self, key='', secret='', secure=False, host='localhost',
                  port=4243, key_file=None, cert_file=None):
         """
         :param    key: API key or username to used (required)

Reply via email to