You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by er...@apache.org on 2017/04/27 17:08:28 UTC

libcloud git commit: [google] Fix call to GCENodeDriver._ex_populate_volume_dict

Repository: libcloud
Updated Branches:
  refs/heads/trunk 295045414 -> 03df6a8b5


[google] Fix call to GCENodeDriver._ex_populate_volume_dict

Closes #1046

Signed-off-by: Eric Johnson <er...@google.com>


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

Branch: refs/heads/trunk
Commit: 03df6a8b52ed770c95cc99e85801a7e8bd812738
Parents: 2950454
Author: Francisco Ros <fj...@doalitic.com>
Authored: Thu Apr 27 16:39:13 2017 +0200
Committer: Eric Johnson <er...@google.com>
Committed: Thu Apr 27 17:07:57 2017 +0000

----------------------------------------------------------------------
 CHANGES.rst                     | 4 ++++
 libcloud/compute/drivers/gce.py | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/03df6a8b/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index cd77302..7979dc8 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -41,6 +41,10 @@ Common
 Compute
 ~~~~~~~
 
+- [GOOGLE] Fix call to GCENodeDriver._ex_populate_volume_dict
+  [GITHUB-1046]
+  (Francisco Ros)
+
 - [ARM] Add support for Azure Cloud Environments as well as Locations
   [GITHUB-969]
   (Peter Amstutz)

http://git-wip-us.apache.org/repos/asf/libcloud/blob/03df6a8b/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index a68cf23..076e014 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -7393,7 +7393,7 @@ class GCENodeDriver(NodeDriver):
         if volume_name not in self._ex_volume_dict:
             # Possibly added through another thread/process, so re-populate
             # _volume_dict and try again.  If still not found, raise exception.
-            self._ex_populate_dict()
+            self._ex_populate_volume_dict()
             if volume_name not in self._ex_volume_dict:
                 raise ResourceNotFoundError(
                     'Volume name: \'%s\' not found. Zone: %s' % (