mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|identity] tweaking service catalog to support ruby 1.8.7
This commit is contained in:
parent
1c5b97b9ed
commit
c8ac06e980
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def region_key(region)
|
def region_key(region)
|
||||||
|
return region.to_s.upcase if region.is_a? Symbol
|
||||||
(region.nil? || region.empty?) ? "GLOBAL" : region.to_s.upcase
|
(region.nil? || region.empty?) ? "GLOBAL" : region.to_s.upcase
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue