diff --git a/lib/fog/storage/aws.rb b/lib/fog/storage/aws.rb index ce050f83e..b75536f75 100644 --- a/lib/fog/storage/aws.rb +++ b/lib/fog/storage/aws.rb @@ -99,7 +99,6 @@ module Fog query << "AWSAccessKeyId=#{@aws_access_key_id}" query << "Signature=#{CGI.escape(signature(params))}" query << "Expires=#{params[:headers]['Date']}" - bucket = params[:host].split('.').first "https://#{@host}/#{params[:path]}?#{query.join('&')}" end