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

[clodo|compute] I don't know what is ignore_awful_caching, so i removed it.

This commit is contained in:
Stepan G Fedorov 2011-10-20 01:57:15 +04:00 committed by NomadRain
parent 0738a84cf6
commit d20d42c615

View file

@ -97,8 +97,7 @@ module Fog
'X-Auth-Token' => @auth_token
}.merge!(params[:headers] || {}),
:host => @host,
:path => "#{@path}/#{params[:path]}",
:query => ('ignore_awful_caching' << Time.now.to_i.to_s)
:path => "#{@path}/#{params[:path]}"
}))
rescue Excon::Errors::Unauthorized => error
if error.response.body != 'Bad username or password' # token expiration