mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|storage|test] Fixed handling of options in mocked get_bucket_object_versions.
This commit is contained in:
parent
694d7ea9f7
commit
a7a1012102
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ module Fog
|
||||||
class Mock
|
class Mock
|
||||||
def get_bucket_object_versions(bucket_name, options = {})
|
def get_bucket_object_versions(bucket_name, options = {})
|
||||||
delimiter, key_marker, max_keys, prefix, version_id_marker = \
|
delimiter, key_marker, max_keys, prefix, version_id_marker = \
|
||||||
options['delimiter'], options['key_marker'], options['max_keys'],options['prefix'],options['version_id_marker']
|
options['delimiter'], options['key-marker'], options['max-keys'],options['prefix'],options['version-id-marker']
|
||||||
|
|
||||||
unless bucket_name
|
unless bucket_name
|
||||||
raise ArgumentError.new('bucket_name is required')
|
raise ArgumentError.new('bucket_name is required')
|
||||||
|
|
Loading…
Reference in a new issue