filestore 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/filestore/multitenant_store.rb +4 -4
- metadata +1 -1
@@ -55,8 +55,8 @@ module FileStore
|
|
55
55
|
begin
|
56
56
|
path = File.join(@rootPath, id)
|
57
57
|
FileUtils.mkdir path if not File.directory?(path)
|
58
|
-
mm = MemoryMetaManager.new File.join(path, "meta.yaml"),
|
59
|
-
sfs = SimpleFileStore.new mm, path,
|
58
|
+
mm = MemoryMetaManager.new File.join(path, "meta.yaml"), @logger
|
59
|
+
sfs = SimpleFileStore.new mm, path, @logger
|
60
60
|
|
61
61
|
@stores[id] = sfs
|
62
62
|
|
@@ -177,8 +177,8 @@ module FileStore
|
|
177
177
|
begin
|
178
178
|
if File.directory?(e)
|
179
179
|
tenant = File.basename(e)
|
180
|
-
mm = MemoryMetaManager.new File.join(e, MemoryMetaManager::FILE),
|
181
|
-
sfs = SimpleFileStore.new mm, e,
|
180
|
+
mm = MemoryMetaManager.new File.join(e, MemoryMetaManager::FILE), @logger
|
181
|
+
sfs = SimpleFileStore.new mm, e, @logger
|
182
182
|
|
183
183
|
stores[tenant] = sfs
|
184
184
|
end
|