mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
5f7886e08d
This removes Google (which has no valid v1 images) and adds rhel-cloud and suse-cloud. It also wraps the lookups in a catch block for not-found exceptions because not everyone has access to everything.
6 lines
157 B
Ruby
6 lines
157 B
Ruby
def test
|
|
connection = Fog::Compute.new({ :provider => "Google" })
|
|
|
|
# If this doesn't raise an exception, everything is good.
|
|
connection.images.all
|
|
end
|