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:
parent
fcf938eac3
commit
562aaea243
1 changed files with 1 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue