update of doc code
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/03b666f6 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/03b666f6 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/03b666f6 Branch: refs/heads/trunk Commit: 03b666f6738484f90df49305c93789e57242a728 Parents: 1c11d5e Author: andy <andymahe...@gmail.com> Authored: Tue Jun 13 21:15:43 2017 -0400 Committer: andy <andymahe...@gmail.com> Committed: Tue Jun 13 21:15:43 2017 -0400 ---------------------------------------------------------------------- docs/examples/container/gke/instantiate_driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/03b666f6/docs/examples/container/gke/instantiate_driver.py ---------------------------------------------------------------------- diff --git a/docs/examples/container/gke/instantiate_driver.py b/docs/examples/container/gke/instantiate_driver.py index a5b6143..c23060a 100644 --- a/docs/examples/container/gke/instantiate_driver.py +++ b/docs/examples/container/gke/instantiate_driver.py @@ -3,7 +3,7 @@ from libcloud.container.providers import get_driver cls = get_driver(Provider.GKE) -conn = ComputeEngine('testaccount-...@testproject.iam.gserviceaccount.com', - 'libcloud.json', project='testproject') +conn = cls('testaccount-...@testproject.iam.gserviceaccount.com', + 'libcloud.json', project='testproject') conn.list_images()