libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject git commit: Make sure resource_pool_id is a string.
Date Wed, 06 Aug 2014 12:19:13 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk ff191dfee -> 89d23bc9c


Make sure resource_pool_id is a string.


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

Branch: refs/heads/trunk
Commit: 89d23bc9c76095327da2f354b2fc8700f3027ef1
Parents: ff191df
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Wed Aug 6 14:17:42 2014 +0200
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Wed Aug 6 14:17:42 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/89d23bc9/libcloud/compute/drivers/vsphere.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/vsphere.py b/libcloud/compute/drivers/vsphere.py
index ffa84f6..5a51007 100644
--- a/libcloud/compute/drivers/vsphere.py
+++ b/libcloud/compute/drivers/vsphere.py
@@ -480,7 +480,7 @@ class VSphereNodeDriver(NodeDriver):
         state = self.NODE_STATE_MAP.get(status, NodeState.UNKNOWN)
         ip_address = properties.get('ip_address', None)
         net = properties.get('net', [])
-        resource_pool_id = vm.properties.resourcePool._obj
+        resource_pool_id = str(vm.properties.resourcePool._obj)
 
         try:
             operating_system = vm.properties.summary.guest.guestFullName,


Mime
View raw message