mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|storage] raise error for delimiter in mocks
This commit is contained in:
parent
ac346e9341
commit
398d9bc400
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,9 @@ module Fog
|
|||
unless bucket_name
|
||||
raise ArgumentError.new('bucket_name is required')
|
||||
end
|
||||
if options['delimiter']
|
||||
Fog::Mock.not_implemented
|
||||
end
|
||||
response = Excon::Response.new
|
||||
if bucket = @data[:buckets][bucket_name]
|
||||
contents = bucket[:objects].values.sort {|x,y| x['Key'] <=> y['Key']}.reject do |object|
|
||||
|
|
Loading…
Add table
Reference in a new issue