1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|storage] fix mocked behaviour for non-specifiec location constraint

This commit is contained in:
geemus 2010-10-29 17:22:25 -07:00
parent 6baec6f4c4
commit 06a0bd082e

View file

@ -55,7 +55,7 @@ DATA
if options['LocationConstraint']
bucket['LocationConstraint'] = options['LocationConstraint']
else
bucket['LocationConstraint'] = ''
bucket['LocationConstraint'] = nil
end
unless @data[:buckets][bucket_name]
@data[:buckets][bucket_name] = bucket