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

Merge pull request #890 from bvox/openstack_conn_options

[openstack|compute] authenticate_v2 fixes
This commit is contained in:
Nelvin Driz 2012-05-04 07:30:04 -07:00
commit ad39fd2528

View file

@ -107,7 +107,7 @@ module Fog
unless svc
unless @openstack_tenant
response = Fog::Connection.new(
"#{uri.scheme}://#{uri.host}:5000/v2.0/tenants", false).request({
"#{uri.scheme}://#{uri.host}:#{uri.port}/v2.0/tenants", false, connection_options).request({
:expects => [200, 204],
:headers => {'Content-Type' => 'application/json',
'X-Auth-Token' => body['access']['token']['id']},