From c2ea1eb3c75664970c74eec06fea2830d0bb456a Mon Sep 17 00:00:00 2001 From: Tomas Varaneckas Date: Wed, 18 Feb 2015 11:43:36 +0100 Subject: [PATCH] Use correct variable in code example --- lib/fog/openstack/docs/storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/openstack/docs/storage.md b/lib/fog/openstack/docs/storage.md index fda3c115f..3b71d667c 100644 --- a/lib/fog/openstack/docs/storage.md +++ b/lib/fog/openstack/docs/storage.md @@ -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