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