mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
96ada81149
Without this patch, we could not call the reload method of a server model instance. This is because the Fog library would try to call the get method using the existing identity (instance_uuid) as the key. This patch implements the get method by instantiating a new model instance from a set of attributes obtained from the vmware managed object instance. The logic reflects that inside of the backspace servers collection implementation. As a side effect of this patch we also get wait_for. For example: server = Fog::Compute[:vsphere].servers.last server.start server.wait_for { ipaddress } |
||
---|---|---|
.. | ||
compute |