From 72d1836f260e2b8176eb4725e5caedce1f899839 Mon Sep 17 00:00:00 2001 From: geemus Date: Thu, 6 May 2010 11:47:02 -0700 Subject: [PATCH] [s3] fix get_bucket mock to return nil instead of '' --- lib/fog/aws/requests/s3/get_bucket.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/aws/requests/s3/get_bucket.rb b/lib/fog/aws/requests/s3/get_bucket.rb index a455b6023..220f5016a 100644 --- a/lib/fog/aws/requests/s3/get_bucket.rb +++ b/lib/fog/aws/requests/s3/get_bucket.rb @@ -79,10 +79,10 @@ module Fog data end, 'IsTruncated' => false, - 'Marker' => options['marker'] || '', + 'Marker' => options['marker'], 'MaxKeys' => options['max-keys'] || 1000, 'Name' => bucket['Name'], - 'Prefix' => options['prefix'] || '' + 'Prefix' => options['prefix'] } if options['max-keys'] && options['max-keys'] < response.body['Contents'].length response.body['IsTruncated'] = true