Remove Aws S3 specific parameters
Cellar only implements the v1 interface and ignores those The parameter is required by Amazon S3 but ignored by Riak
This commit is contained in:
parent
febd7644ab
commit
9d34262493
1 changed files with 1 additions and 2 deletions
|
@ -123,7 +123,7 @@ module ActiveStorage
|
|||
end
|
||||
|
||||
def list_prefixed(http, prefix)
|
||||
request = Net::HTTP::Get.new(URI::join(@endpoint, "/?list-type=2&prefix=#{prefix}"))
|
||||
request = Net::HTTP::Get.new(URI::join(@endpoint, "/?prefix=#{prefix}"))
|
||||
sign(request, "")
|
||||
response = http.request(request)
|
||||
if response.is_a?(Net::HTTPSuccess)
|
||||
|
@ -147,7 +147,6 @@ module ActiveStorage
|
|||
def bulk_deletion_request_body(keys)
|
||||
builder = Nokogiri::XML::Builder.new(:encoding => 'UTF-8') do |xml|
|
||||
xml.Delete do
|
||||
xml.Quiet("true")
|
||||
keys.each do |k|
|
||||
xml.Object do
|
||||
xml.Key(k)
|
||||
|
|
Loading…
Reference in a new issue