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 2014/08/06 14:19:13 UTC

git commit: Make sure resource_pool_id is a string.

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 <to...@apache.org>
Authored: Wed Aug 6 14:17:42 2014 +0200
Committer: Tomaz Muraus <to...@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,