mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Should not modify passed in "params" variable since block might run several times due to authentication failure producing erroneous path
This commit is contained in:
parent
5419eb79ad
commit
22f5d4d567
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ module Fog
|
|||
|
||||
def request(params, parse_json = true, &block)
|
||||
begin
|
||||
response = @connection.request(params.merge!({
|
||||
response = @connection.request(params.merge({
|
||||
:headers => {
|
||||
'Content-Type' => 'application/json',
|
||||
'X-Auth-Token' => @auth_token
|
||||
|
|
Loading…
Add table
Reference in a new issue