1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Update to not raise exception if service is not active or not present.

This commit is contained in:
Rupak Ganguly 2012-05-03 09:37:18 -04:00
parent fb0115369a
commit ad9433fe00

View file

@ -189,8 +189,6 @@ module Fog
endpoint_url = endpoint['publicURL'] if endpoint
raise "Unable to retrieve endpoint service url for availability zone '#{avl_zone}' from service catalog. " if endpoint_url.nil?
return endpoint_url
else
raise "Unable to retrieve service item for '#{service_type}' from service catalog."
end
end