Skip to content

Commit

Permalink
Merge pull request #508 from avgerin0s/fix-mutated-params
Browse files Browse the repository at this point in the history
openstack::core: Don't mutate params between request retries
  • Loading branch information
aufi authored Feb 12, 2020
2 parents de574af + 729ea0c commit 997dc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/openstack/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def request(params, parse_json = true)

response = @connection.request(
params.merge(
:headers => headers(params.delete(:headers)),
:headers => headers(params[:headers]),
:path => "#{@path}/#{params[:path]}"
)
)
Expand Down

0 comments on commit 997dc67

Please sign in to comment.