Merge pull request #3445 from spajus/patch-2

Use correct variable in code example
This commit is contained in:
Wesley Beary 2015-02-18 11:44:39 -06:00
commit 16652f124f
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ Swift requires files larger than 5 GB (the Swift default limit) to be uploaded i
SEGMENT_LIMIT = 5368709119.0 # 5GB -1
BUFFER_SIZE = 1024 * 1024 # 1MB
File.open(file_name) do |f|
File.open(file_name) do |file|
segment = 0
until file.eof?
segment += 1