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:
parent
a16a9fe12d
commit
47b15f7ea8
1 changed files with 2 additions and 2 deletions
|
@ -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'].
|
||||||
|
|
Loading…
Add table
Reference in a new issue