vendor/fog/lib/fog/openstack.rb in cifrado-0.1.3 vs vendor/fog/lib/fog/openstack.rb in cifrado-0.2.0
- old
+ new
@@ -193,10 +193,9 @@
response = connection.request({
:expects => [200, 204],
:headers => {'Content-Type' => 'application/json'},
:body => Fog::JSON.encode(request_body),
- :host => uri.host,
:method => 'POST',
:path => (uri.path and not uri.path.empty?) ? uri.path : 'v2.0'
})
Fog::JSON.decode(response.body)