From 62eef384330f652edd17732240ae0d82685c0914 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Mon, 15 Jan 2018 07:39:49 +0100 Subject: Add command to restore index of a cloud storage --- storage/memory/memory.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'storage/memory') diff --git a/storage/memory/memory.go b/storage/memory/memory.go index dc72f70..a43414d 100644 --- a/storage/memory/memory.go +++ b/storage/memory/memory.go @@ -55,6 +55,10 @@ func (ms MemoryStorage) List(typ objects.ObjectType) ([]objects.ObjectId, error) return ms.bytype[typ], nil } +func (MemoryStorage) Subcmds() map[string]storage.StorageSubcmd { + return make(map[string]storage.StorageSubcmd) +} + func (MemoryStorage) Close() error { return nil } -- cgit v1.2.3-70-g09d2