Repository: libcloud Updated Branches: refs/heads/trunk ec4ac702f -> b136a86d3
Add region attr to zone in the GCE driver. Closes #403 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/b136a86d Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b136a86d Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b136a86d Branch: refs/heads/trunk Commit: b136a86d3bec64d7503a437a5323fe757a63d6fb Parents: ec4ac70 Author: Eric Johnson <[email protected]> Authored: Tue Nov 25 22:50:26 2014 +0000 Committer: Tomaz Muraus <[email protected]> Committed: Thu Nov 27 18:50:46 2014 +0800 ---------------------------------------------------------------------- libcloud/compute/drivers/gce.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/b136a86d/libcloud/compute/drivers/gce.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py index a6ba961..787aa52 100644 --- a/libcloud/compute/drivers/gce.py +++ b/libcloud/compute/drivers/gce.py @@ -3743,6 +3743,7 @@ class GCENodeDriver(NodeDriver): extra['selfLink'] = zone.get('selfLink') extra['creationTimestamp'] = zone.get('creationTimestamp') extra['description'] = zone.get('description') + extra['region'] = zone.get('region') deprecated = zone.get('deprecated')
