mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
08264615fe
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. |
||
---|---|---|
.. | ||
models/compute | ||
requests/compute | ||
compute.rb |