[openstack|compute] authenticate_v2 fixes #890

Merged
merged 1 commit into from May 4, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -107,7 +107,7 @@ def self.authenticate_v2(options, connection_options = {})
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']},