aboutsummaryrefslogtreecommitdiffstats
path: root/storage/memory/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'storage/memory/storage.go')
-rw-r--r--storage/memory/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/memory/storage.go b/storage/memory/storage.go
index 444f289..5d0bff1 100644
--- a/storage/memory/storage.go
+++ b/storage/memory/storage.go
@@ -72,7 +72,7 @@ func (c *IndexStorage) SetIndex(idx *index.Index) error {
func (c *IndexStorage) Index() (*index.Index, error) {
if c.index == nil {
- c.index = &index.Index{}
+ c.index = &index.Index{Version: 2}
}
return c.index, nil