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

Update lib/fog/hp.rb

This commit is contained in:
Terry Howe 2013-04-05 13:59:54 -06:00 committed by Rupak Ganguly
parent fcf938eac3
commit 562aaea243

View file

@ -247,6 +247,7 @@ module Fog
end
def self.get_endpoint_url(service_catalog, service_type, avl_zone)
return nil if service_type.nil?
service_type = service_type.to_sym
avl_zone = avl_zone.to_sym
unless service_catalog[service_type].nil?