Repository: libcloud Updated Branches: refs/heads/trunk 40e4484a5 -> 01dca19ad
ex_get_disk does not exist, ex_get_volume does Closes #574 Signed-off-by: Tomaz Muraus <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/01dca19a Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/01dca19a Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/01dca19a Branch: refs/heads/trunk Commit: 01dca19adb98f06192a8f3e2b291ec6f7dcd140b Parents: 40e4484 Author: Alex Poms <[email protected]> Authored: Mon Sep 7 22:22:59 2015 -0400 Committer: Tomaz Muraus <[email protected]> Committed: Fri Sep 25 12:53:16 2015 +0200 ---------------------------------------------------------------------- CHANGES.rst | 5 +++++ libcloud/compute/drivers/gce.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/01dca19a/CHANGES.rst ---------------------------------------------------------------------- diff --git a/CHANGES.rst b/CHANGES.rst index 0af289d..863adbd 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -46,6 +46,11 @@ Compute (GITHUB-569) [Jesaja Everling] +- Fix ``create_node`` method in the GCE driver calling inexistent method + (ex_get_disk instead of ex_get_volume). + (GITHUB-574) + [Alex Poms] + Storage ~~~~~~~ http://git-wip-us.apache.org/repos/asf/libcloud/blob/01dca19a/libcloud/compute/drivers/gce.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py index d62a9af..2047fbb 100644 --- a/libcloud/compute/drivers/gce.py +++ b/libcloud/compute/drivers/gce.py @@ -2363,7 +2363,7 @@ class GCENodeDriver(NodeDriver): if not hasattr(ex_disk_type, 'name'): ex_disk_type = self.ex_get_disktype(ex_disk_type, zone=location) if ex_boot_disk and not hasattr(ex_boot_disk, 'name'): - ex_boot_disk = self.ex_get_disk(ex_boot_disk, zone=location) + ex_boot_disk = self.ex_get_volume(ex_boot_disk, zone=location) # Use disks[].initializeParams to auto-create the boot disk if not ex_disks_gce_struct and not ex_boot_disk:
