lib/fog/openstack/identity.rb in fog-maestrodev-1.15.0.20130927082724 vs lib/fog/openstack/identity.rb in fog-maestrodev-1.18.0.20131111203459
- old
+ new
@@ -190,11 +190,11 @@
@openstack_service_name = options[:openstack_service_name]
@connection_options = options[:connection_options] || {}
@openstack_current_user_id = options[:openstack_current_user_id]
-
+
@openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL'
@current_user = options[:current_user]
@current_tenant = options[:current_tenant]
@@ -225,11 +225,10 @@
:headers => {
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Auth-Token' => @auth_token
}.merge!(params[:headers] || {}),
- :host => @host,
:path => "#{@path}/#{params[:path]}"#,
}))
rescue Excon::Errors::Unauthorized => error
raise if retried
retried = true
@@ -291,6 +290,6 @@
end
end
end
end
-end
+end
\ No newline at end of file