lib/fog/aliyun/requests/storage/get_container.rb in fog-aliyun-0.3.16 vs lib/fog/aliyun/requests/storage/get_container.rb in fog-aliyun-0.3.17

- old
+ new

@@ -9,10 +9,12 @@ bucket = options[:bucket] bucket ||= @aliyun_oss_bucket marker = options[:marker] - maxKeys = options[:maxKeys] + maxKeys = options[:maxKeys]||1000 + maxKeys = maxKeys.to_i + maxKeys = [maxKeys,1000].min.to_s delimiter = '/' path = '' prefix = if container == '' || container == '.' || container.nil?