mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Remove unused variable
This commit is contained in:
parent
7baeec22cc
commit
a3ca181ef6
1 changed files with 1 additions and 1 deletions
|
@ -106,12 +106,12 @@ module Fog
|
||||||
def request(params)
|
def request(params)
|
||||||
idempotent = params.delete(:idempotent)
|
idempotent = params.delete(:idempotent)
|
||||||
|
|
||||||
now = Fog::Time.now
|
|
||||||
headers = {
|
headers = {
|
||||||
'Content-Type' => 'application/x-amz-json-1.0',
|
'Content-Type' => 'application/x-amz-json-1.0',
|
||||||
'x-amz-date' => Fog::Time.now.to_date_header,
|
'x-amz-date' => Fog::Time.now.to_date_header,
|
||||||
'x-amz-security-token' => @aws_session_token
|
'x-amz-security-token' => @aws_session_token
|
||||||
}.merge(params[:headers])
|
}.merge(params[:headers])
|
||||||
|
|
||||||
headers['x-amzn-authorization'] = signed_authorization_header(params, headers)
|
headers['x-amzn-authorization'] = signed_authorization_header(params, headers)
|
||||||
|
|
||||||
response = @connection.request({
|
response = @connection.request({
|
||||||
|
|
Loading…
Add table
Reference in a new issue