1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib
Rich Lane 08264615fe Optimize vSphere convert_vm_mob_ref_to_attr_hash
This patch reduces the number of round trips to the vSphere API by
using the `collect!` method on the ManagedObject, vm_mob_ref, which
retrieves most of the properties in one request.

For the remaining properties: hypervisor and mac_addresses, we still
need to make additional requests.

Overall this patch provides a nice speed improvement for the
`convert_vm_mob_ref_to_attr_hash` method.
2011-10-27 17:49:29 -04:00
..
fog Optimize vSphere convert_vm_mob_ref_to_attr_hash 2011-10-27 17:49:29 -04:00
fog.rb Release 1.0.0 2011-09-29 16:20:54 -05:00