From 9c07d710f4e42a4291439e24c9fe15bbcd8c81b8 Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 23 Mar 2021 19:53:31 -0500 Subject: [PATCH] config: fix bug in default backup storage manager config. Fix uploads failing in the default configuration because the backup storage manager didn't initialize the null storage manager with the required `base_url` and `base_dir` options. --- app/logical/storage_manager/null.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/logical/storage_manager/null.rb b/app/logical/storage_manager/null.rb index ebaeb8bfe..7164ef2ff 100644 --- a/app/logical/storage_manager/null.rb +++ b/app/logical/storage_manager/null.rb @@ -1,4 +1,8 @@ class StorageManager::Null < StorageManager + def initialize(base_url: "/", base_dir: "/") + super + end + def store(io, path) # no-op end