Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Commit

Permalink
dont create a new array
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Jan 4, 2013
1 parent 8709786 commit 3cab307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aws/s3/authentication.rb
Expand Up @@ -236,7 +236,7 @@ def extract_significant_parameter
params = self.class.query_parameters_for_signature(params).to_a
return nil if params.empty?
params.sort! { |(x_key, _), (y_key, _)| x_key <=> y_key }
params.map do |(key, value)|
params.map! do |(key, value)|
if value.nil? || resource_parameter?(key)
key
else
Expand Down

0 comments on commit 3cab307

Please sign in to comment.