libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [1/2] libcloud git commit: Fix bug
Date Sun, 18 Jun 2017 02:33:59 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 0189b6cd8 -> 4a0e3f143


Fix bug

Using instance templates it always used pd-standard, not allowing you to choose
Closes #1064


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

Branch: refs/heads/trunk
Commit: 817b1fd55dba67be5589653bc31010b4bacb1e44
Parents: 0189b6c
Author: evancarter-iex <evan.carter@iextrading.com>
Authored: Fri May 26 15:17:39 2017 -0400
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Sun Jun 18 12:32:02 2017 +1000

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/817b1fd5/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index aa47917..d471caf 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -3999,7 +3999,7 @@ class GCENodeDriver(NodeDriver):
 
         properties = self._create_instance_properties(
             name, node_size=size, source=source, image=image,
-            disk_type='pd-standard', disk_auto_delete=True,
+            disk_type=disk_type, disk_auto_delete=True,
             external_ip=external_ip, network=network, subnetwork=subnetwork,
             can_ip_forward=can_ip_forward, service_accounts=service_accounts,
             on_host_maintenance=on_host_maintenance,


Mime
View raw message