libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [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.
Date Sat, 06 Jul 2019 09:27:27 GMT
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 <tomaz@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):


Mime
View raw message