lib/cloudsync/backend/s3.rb in cloudsync-2.3.0 vs lib/cloudsync/backend/s3.rb in cloudsync-2.4.0
- old
+ new
@@ -109,15 +109,13 @@
prefix = remove_bucket_name(upload_prefix)
params = {'marker' => "", 'max-keys' => OBJECT_LIMIT}
params['prefix'] = prefix if !prefix.nil?
loop do
- $LOGGER.debug(params.inspect)
keys = bucket.keys(params)
break if keys.empty?
keys.each do |key|
- $LOGGER.debug(key.name)
yield key
end
params['marker'] = keys.last.name
end
\ No newline at end of file