mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
b42d86360c
This patch refactors some of the code that would query global projects when get'ing images. It makes the list of global projects a constant on the Images collection, so that both 'get' and 'list' can use the same list of projects to query. Also, when bootstrapping/create'ing a server, the validation of the specified image name is done by trying to 'get' the image instead of 'save'ing it. |
||
---|---|---|
.. | ||
bootstrap.rb | ||
create.rb | ||
eric-fail.rb | ||
get_list_images.rb | ||
launch_micro_instance.rb | ||
metadata.rb |