You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2019/07/06 09:27:27 UTC
[libcloud] 02/06: Fix GCE driver tests failure which were failing
because of the new ``extra`` attribute which was added to the base
``NodeLocation`` class.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit f82502af1511f4261996b0171f5dae8eb47a9109
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Thu Jul 4 23:25:10 2019 +0200
Fix GCE driver tests failure which were failing because of the new
``extra`` attribute which was added to the base ``NodeLocation`` class.
---
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 317898f..5930936 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -1630,7 +1630,7 @@ class GCEZone(NodeLocation):
self.extra = extra
country = name.split('-')[0]
super(GCEZone, self).__init__(id=str(id), name=name, country=country,
- driver=driver)
+ driver=driver, extra=extra)
@property
def time_until_mw(self):