mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Use 1.8 hash syntax
This commit is contained in:
parent
64234692e4
commit
d3a7e410fb
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ module Fog
|
|||
}
|
||||
headers['x-amz-security-token'] = @aws_session_token if @aws_session_token
|
||||
body = MultiJson.dump(params[:body])
|
||||
headers['Authorization'] = @signer.sign({method: "POST", headers: headers, body: body, query: {}, path: @path}, date)
|
||||
headers['Authorization'] = @signer.sign({:method => "POST", :headers => headers, :body => body, :query => {}, :path => @path}, date)
|
||||
|
||||
if @instrumentor
|
||||
@instrumentor.instrument("#{@instrumentor_name}.request", params) do
|
||||
|
|
Loading…
Add table
Reference in a new issue