From 2a3782beb8ead4b5ded1f50a31ceddfba0a48b76 Mon Sep 17 00:00:00 2001 From: Alex Poms Date: Mon, 7 Sep 2015 22:22:59 -0400 Subject: [PATCH] ex_get_disk does not exist, ex_get_volume does --- libcloud/compute/drivers/gce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py index d62a9af8a7..2047fbb225 100644 --- a/libcloud/compute/drivers/gce.py +++ b/libcloud/compute/drivers/gce.py @@ -2363,7 +2363,7 @@ def create_node(self, name, size, image, location=None, 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: