From c8ac06e980dbd40d024fe97876d8289a9e0d375d Mon Sep 17 00:00:00 2001 From: Kyle Rames <kyle.rames@rackspace.com> Date: Mon, 4 Nov 2013 14:36:29 -0600 Subject: [PATCH] [rackspace|identity] tweaking service catalog to support ruby 1.8.7 --- lib/fog/rackspace/models/identity/service_catalog.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fog/rackspace/models/identity/service_catalog.rb b/lib/fog/rackspace/models/identity/service_catalog.rb index 42dc96670..2b10512ee 100644 --- a/lib/fog/rackspace/models/identity/service_catalog.rb +++ b/lib/fog/rackspace/models/identity/service_catalog.rb @@ -76,6 +76,7 @@ module Fog end def region_key(region) + return region.to_s.upcase if region.is_a? Symbol (region.nil? || region.empty?) ? "GLOBAL" : region.to_s.upcase end