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/06/22 03:11:07 UTC

[03/34] libcloud git commit: update for Kuebernetes

update for Kuebernetes


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

Branch: refs/heads/trunk
Commit: 8a6fe5abb305cbe7f75bc0802790cfa15a30d0da
Parents: de40af5
Author: andy <an...@gmail.com>
Authored: Sun Jun 4 20:37:50 2017 -0400
Committer: andy <an...@gmail.com>
Committed: Sun Jun 4 20:37:50 2017 -0400

----------------------------------------------------------------------
 libcloud/container/drivers/gke.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/8a6fe5ab/libcloud/container/drivers/gke.py
----------------------------------------------------------------------
diff --git a/libcloud/container/drivers/gke.py b/libcloud/container/drivers/gke.py
index 50455c7..ed85adb 100644
--- a/libcloud/container/drivers/gke.py
+++ b/libcloud/container/drivers/gke.py
@@ -1,10 +1,10 @@
 from libcloud.common.google import GoogleOAuth2Credential
 
-from libcloud.container.drivers.docker import (DockerContainerDriver,
-                                               DockerConnection)
+from libcloud.container.drivers.kuebernetes import DockerContainerDriver,
+                                               KubernetesConnection
 
 
-class GKEContainerDriver(DockerContainerDriver):
+class GKEContainerDriver(KubernetesContainerDriver):
     """
     GCE Node Driver class.
 
@@ -16,7 +16,7 @@ class GKEContainerDriver(DockerContainerDriver):
     objects/strings).  In most cases, passing strings instead of objects will
     result in additional GKE API calls.
     """
-    connectionCls = DockerConnection
+    connectionCls = KubernetesConnection
     api_name = 'google'
     name = "Google Container Engine"
     type = Provider.GKE