mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
27a689b951
With the introduction of the vm_clone API request, a server may be returned in the list which does not have a complete configuration yet. This is because the system is still in the process of being cloned. This is a problem because Fog would throw an undefined method error when calling the config method of the vm managed object instance. This patch fixes the problem by checking if the config method returns something and only sets attributes that are known to be available for a cloning VM. |
||
---|---|---|
.. | ||
models/compute | ||
requests/compute | ||
compute.rb |