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

[openstack] Fix Typo in Merge of Authentication Refactoring

Signed-off-by: Nelvin Driz <nelvindriz@live.com>
This commit is contained in:
Nelvin Driz 2012-11-27 06:45:27 +08:00
parent a16a9fe12d
commit 47b15f7ea8

View file

@ -116,8 +116,8 @@ module Fog
end if openstack_region end if openstack_region
if service['endpoints'].count > 1 if service['endpoints'].count > 1
regions = svc["endpoints"].map { |x| x['region'] }.uniq.join(',') regions = service["endpoints"].map{ |e| e['region'] }.uniq.join(',')
raise Errors::NotFound.new("Multiple regions available choose one of these '#{regions}'") raise Errors::NotFound.new("Multiple regions available choose one of these '#{regions}'")
end end
identity_service = body['access']['serviceCatalog']. identity_service = body['access']['serviceCatalog'].