lib/fog/openstack/metering.rb in fog-maestrodev-1.15.0.20130927082724 vs lib/fog/openstack/metering.rb in fog-maestrodev-1.18.0.20131111203459
- old
+ new
@@ -142,10 +142,9 @@
:headers => {
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Auth-Token' => @auth_token
}.merge!(params[:headers] || {}),
- :host => @host,
:path => "#{@path}/v2/#{params[:path]}"#,
# Causes errors for some requests like tenants?limit=1
# :query => ('ignore_awful_caching' << Time.now.to_i.to_s)
}))
rescue Excon::Errors::Unauthorized => error